Table of Contents

Class AutoFormView

Namespace
UraniumUI.Controls
Assembly
UraniumUI.dll
public class AutoFormView : 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
AutoFormView
Implements
Inherited Members
Extension Methods

Constructors

AutoFormView()

public AutoFormView()

Fields

ResetButtonTextProperty

public static readonly BindableProperty ResetButtonTextProperty

Field Value

BindableProperty

ShowResetButtonProperty

public static readonly BindableProperty ShowResetButtonProperty

Field Value

BindableProperty

ShowSubmitbuttonProperty

public static readonly BindableProperty ShowSubmitbuttonProperty

Field Value

BindableProperty

SourceProperty

public static readonly BindableProperty SourceProperty

Field Value

BindableProperty

SubmitButtonTextProperty

public static readonly BindableProperty SubmitButtonTextProperty

Field Value

BindableProperty

Properties

EditingProperties

public PropertyInfo[] EditingProperties { get; protected set; }

Property Value

PropertyInfo[]

EditorMapping

protected Dictionary<Type, AutoFormViewOptions.EditorForType> EditorMapping { get; }

Property Value

Dictionary<Type, AutoFormViewOptions.EditorForType>

FooterLayout

public Layout FooterLayout { get; set; }

Property Value

Layout

Hierarchical

public bool Hierarchical { get; set; }

Property Value

bool

HierarchyLimitType

public Type HierarchyLimitType { get; set; }

Property Value

Type

ItemsLayout

public Layout ItemsLayout { get; set; }

Property Value

Layout

Options

protected AutoFormViewOptions Options { get; }

Property Value

AutoFormViewOptions

ResetButtonText

public string ResetButtonText { get; set; }

Property Value

string

ShowMissingProperties

public bool ShowMissingProperties { get; set; }

Property Value

bool

ShowResetButton

public bool ShowResetButton { get; set; }

Property Value

bool

ShowSubmitButton

public bool ShowSubmitButton { get; set; }

Property Value

bool

Source

public object Source { get; set; }

Property Value

object

SubmitButtonText

public string SubmitButtonText { get; set; }

Property Value

string

Methods

CreateSelectionViewForValues(Array, PropertyInfo, Func<PropertyInfo, string>, object)

public static View CreateSelectionViewForValues(Array values, PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

values Array
property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForBoolean(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForBoolean(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForDateTime(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForDateTime(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForEnum(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForEnum(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForKeyboard(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForKeyboard(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForNumeric(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForNumeric(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForString(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForString(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

EditorForTimeSpan(PropertyInfo, Func<PropertyInfo, string>, object)

public static View EditorForTimeSpan(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)

Parameters

property PropertyInfo
propertyNameFactory Func<PropertyInfo, string>
source object

Returns

View

OnResetButtonTextChanged()

protected virtual void OnResetButtonTextChanged()

OnShowResetButtonChanged()

protected virtual void OnShowResetButtonChanged()

OnShowSubmitButtonChanged()

protected virtual void OnShowSubmitButtonChanged()

OnSourceChanged()

protected void OnSourceChanged()

OnSubmitButtonTextChanged()

protected virtual void OnSubmitButtonTextChanged()