Class AutoFormView
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
ShowResetButtonProperty
public static readonly BindableProperty ShowResetButtonProperty
Field Value
ShowSubmitbuttonProperty
public static readonly BindableProperty ShowSubmitbuttonProperty
Field Value
SourceProperty
public static readonly BindableProperty SourceProperty
Field Value
SubmitButtonTextProperty
public static readonly BindableProperty SubmitButtonTextProperty
Field Value
Properties
EditingProperties
public PropertyInfo[] EditingProperties { get; protected set; }
Property Value
EditorMapping
protected Dictionary<Type, AutoFormViewOptions.EditorForType> EditorMapping { get; }
Property Value
FooterLayout
public Layout FooterLayout { get; set; }
Property Value
Hierarchical
public bool Hierarchical { get; set; }
Property Value
HierarchyLimitType
public Type HierarchyLimitType { get; set; }
Property Value
ItemsLayout
public Layout ItemsLayout { get; set; }
Property Value
Options
protected AutoFormViewOptions Options { get; }
Property Value
ResetButtonText
public string ResetButtonText { get; set; }
Property Value
ShowMissingProperties
public bool ShowMissingProperties { get; set; }
Property Value
ShowResetButton
public bool ShowResetButton { get; set; }
Property Value
ShowSubmitButton
public bool ShowSubmitButton { get; set; }
Property Value
Source
public object Source { get; set; }
Property Value
SubmitButtonText
public string SubmitButtonText { get; set; }
Property Value
Methods
CreateSelectionViewForValues(Array, PropertyInfo, Func<PropertyInfo, string>, object)
public static View CreateSelectionViewForValues(Array values, PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
values
Arrayproperty
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForBoolean(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForBoolean(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForDateTime(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForDateTime(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForEnum(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForEnum(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForKeyboard(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForKeyboard(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForNumeric(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForNumeric(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForString(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForString(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
EditorForTimeSpan(PropertyInfo, Func<PropertyInfo, string>, object)
public static View EditorForTimeSpan(PropertyInfo property, Func<PropertyInfo, string> propertyNameFactory, object source)
Parameters
property
PropertyInfopropertyNameFactory
Func<PropertyInfo, string>source
object
Returns
OnResetButtonTextChanged()
protected virtual void OnResetButtonTextChanged()
OnShowResetButtonChanged()
protected virtual void OnShowResetButtonChanged()
OnShowSubmitButtonChanged()
protected virtual void OnShowSubmitButtonChanged()
OnSourceChanged()
protected void OnSourceChanged()
OnSubmitButtonTextChanged()
protected virtual void OnSubmitButtonTextChanged()