Table of Contents

Class FormView

Namespace
UraniumUI.Controls
Assembly
UraniumUI.dll
public class FormView : FormView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IBindableLayout, IVisualTreeElement, IStackLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout
Inheritance
FormView
Implements
Derived
Inherited Members
Extension Methods

Constructors

FormView()

public FormView()

Fields

FormValidationResultProperty

public static readonly BindableProperty FormValidationResultProperty

Field Value

BindableProperty

IsBusyIndicatorProperty

public static readonly BindableProperty IsBusyIndicatorProperty

Field Value

BindableProperty

IsBusyProperty

public static readonly BindableProperty IsBusyProperty

Field Value

BindableProperty

IsResetButtonProperty

public static readonly BindableProperty IsResetButtonProperty

Field Value

BindableProperty

IsSubmitButtonProperty

public static readonly BindableProperty IsSubmitButtonProperty

Field Value

BindableProperty

IsValidatingProperty

public static readonly BindableProperty IsValidatingProperty

Field Value

BindableProperty

ShowValidationSummaryProperty

public static readonly BindableProperty ShowValidationSummaryProperty

Field Value

BindableProperty

ValidationHandlerProperty

public static readonly BindableProperty ValidationHandlerProperty

Field Value

BindableProperty

ValidationModelProperty

public static readonly BindableProperty ValidationModelProperty

Field Value

BindableProperty

ValidationPathProperty

public static readonly BindableProperty ValidationPathProperty

Field Value

BindableProperty

ValidatorProperty

public static readonly BindableProperty ValidatorProperty

Field Value

BindableProperty

Properties

FormValidationResult

public FormValidationResult FormValidationResult { get; }

Property Value

FormValidationResult

IsBusy

public bool IsBusy { get; }

Property Value

bool

IsValidating

public bool IsValidating { get; }

Property Value

bool

ShowValidationSummary

public bool ShowValidationSummary { get; set; }

Property Value

bool

ValidationHandler

public FormValidationHandler ValidationHandler { get; set; }

Property Value

FormValidationHandler

ValidationModel

public object ValidationModel { get; set; }

Property Value

object

Validator

public IFormValidator Validator { get; set; }

Property Value

IFormValidator

Methods

CreateValidationContext(CancellationToken)

protected virtual FormValidationContext CreateValidationContext(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

FormValidationContext

CreateValidationSummaryLabel()

protected virtual Label CreateValidationSummaryLabel()

Returns

Label

GetIsBusyIndicator(BindableObject)

public static bool GetIsBusyIndicator(BindableObject view)

Parameters

view BindableObject

Returns

bool

GetIsResetButton(BindableObject)

public static bool GetIsResetButton(BindableObject view)

Parameters

view BindableObject

Returns

bool

GetIsSubmitButton(BindableObject)

public static bool GetIsSubmitButton(BindableObject view)

Parameters

view BindableObject

Returns

bool

GetServiceProvider()

protected virtual IServiceProvider GetServiceProvider()

Returns

IServiceProvider

GetValidationPath(BindableObject)

public static string GetValidationPath(BindableObject view)

Parameters

view BindableObject

Returns

string

Reset()

public override void Reset()

SetIsBusyIndicator(BindableObject, bool)

public static void SetIsBusyIndicator(BindableObject view, bool value)

Parameters

view BindableObject
value bool

SetIsResetButton(BindableObject, bool)

public static void SetIsResetButton(BindableObject view, bool value)

Parameters

view BindableObject
value bool

SetIsSubmitButton(BindableObject, bool)

public static void SetIsSubmitButton(BindableObject view, bool value)

Parameters

view BindableObject
value bool

SetValidationPath(BindableObject, string)

public static void SetValidationPath(BindableObject view, string value)

Parameters

view BindableObject
value string

Submit()

public override void Submit()

SubmitAsync(CancellationToken)

public virtual Task<bool> SubmitAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<bool>

ValidateFormAsync(CancellationToken)

public virtual Task<FormValidationResult> ValidateFormAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<FormValidationResult>