Class RadDataForm
A component that allows editing of any object at run-time.
Inherited Members
Namespace: Telerik.XamarinForms.Input
Assembly: Telerik.XamarinForms.Input.dll
Syntax
public class RadDataForm : RadView, INotifyNativeControlLoaded, IPropertyValidationCompletedListener, IParentElement
Constructors
RadDataForm()
Fields
CommitModeProperty
Identifies the CommitMode property.
Declaration
public static readonly BindableProperty CommitModeProperty
Field Value
Xamarin.Forms.BindableProperty
|
EditorStyleProperty
Identifies the EditorStyle property.
Declaration
public static readonly BindableProperty EditorStyleProperty
Field Value
Xamarin.Forms.BindableProperty
|
GroupHeaderStyleProperty
Identifies the GroupHeaderStyle property.
Declaration
public static readonly BindableProperty GroupHeaderStyleProperty
Field Value
Xamarin.Forms.BindableProperty
|
GroupHeaderStyleSelectorProperty
Identifies the GroupHeaderStyleSelector property.
Declaration
public static readonly BindableProperty GroupHeaderStyleSelectorProperty
Field Value
Xamarin.Forms.BindableProperty
|
GroupLayoutDefinitionProperty
Identifies the GroupLayoutDefinition property.
Declaration
public static readonly BindableProperty GroupLayoutDefinitionProperty
Field Value
Xamarin.Forms.BindableProperty
|
GroupLayoutDefinitionSelectorProperty
Identifies the GroupLayoutDefinitionSelector property.
Declaration
public static readonly BindableProperty GroupLayoutDefinitionSelectorProperty
Field Value
Xamarin.Forms.BindableProperty
|
IsReadOnlyProperty
Identifies the IsReadOnly property.
Declaration
public static readonly BindableProperty IsReadOnlyProperty
Field Value
Xamarin.Forms.BindableProperty
|
PropertyDataSourceProviderProperty
Identifies the PropertyDataSourceProvider property.
Declaration
public static readonly BindableProperty PropertyDataSourceProviderProperty
Field Value
Xamarin.Forms.BindableProperty
|
SourceProperty
Identifies the Source property.
Declaration
public static readonly BindableProperty SourceProperty
Field Value
Xamarin.Forms.BindableProperty
|
ValidationModeProperty
Identifies the ValidationMode property.
Declaration
public static readonly BindableProperty ValidationModeProperty
Field Value
Xamarin.Forms.BindableProperty
|
Properties
CommitMode
Gets or sets the commit mode.
Declaration
public CommitMode CommitMode { get; set; }
Property Value
CommitMode
|
EditorStyle
GroupHeaderStyle
Declaration
public DataFormGroupHeaderStyle GroupHeaderStyle { get; set; }
Property Value
DataFormGroupHeaderStyle
|
GroupHeaderStyleSelector
Declaration
public IDataFormGroupHeaderStyleSelector GroupHeaderStyleSelector { get; set; }
Property Value
IDataFormGroupHeaderStyleSelector
|
GroupLayoutDefinition
Gets or sets common layout defintion for all groups.
Declaration
public DataFormGroupLayoutDefinition GroupLayoutDefinition { get; set; }
Property Value
DataFormGroupLayoutDefinition
The group layout. |
GroupLayoutDefinitionSelector
Gets or sets a group layout definition selector.
Declaration
public IDataFormGroupLayoutDefinitionSelector GroupLayoutDefinitionSelector { get; set; }
Property Value
IDataFormGroupLayoutDefinitionSelector
|
IsReadOnly
Gets or sets a value indicating whether the RadDataForm is read-only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean
|
MetadataProvider
Declaration
public PropertyMetadataProviderBase MetadataProvider { get; set; }
Property Value
PropertyMetadataProviderBase
|
PropertyDataSourceProvider
Gets or sets the property data source provider.
Declaration
public IPropertyDataSourceProvider PropertyDataSourceProvider { get; set; }
Property Value
IPropertyDataSourceProvider
|
Source
Gets or sets the source object.
Declaration
public object Source { get; set; }
Property Value
System.Object
|
ValidationMode
Gets or sets the validation mode.
Declaration
public ValidationMode ValidationMode { get; set; }
Property Value
ValidationMode
|
Methods
CommitAll()
Commits all changes.
Declaration
public void CommitAll()
CommitProperty(String)
Commits a specific property.
Declaration
public void CommitProperty(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
OnPropertyChanged(String)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
|
RegisterEditor(String, EditorType)
Registers the editor for a property with specific name.
Declaration
public void RegisterEditor(string propertyName, EditorType editorType)
Parameters
System.String
propertyName
Name of the property. |
EditorType
editorType
Type of the editor. |
RegisterEditor(Type, EditorType)
Registers the editor for specific property type.
Declaration
public void RegisterEditor(Type propertyType, EditorType editorType)
Parameters
System.Type
propertyType
Type of the property. |
EditorType
editorType
Type of the editor. |
Reload()
Reloads the form.
Declaration
public void Reload()
UpdatePropertyDataSource(String)
Declaration
public void UpdatePropertyDataSource(string propertyName = null)
Parameters
System.String
propertyName
|
ValidateAll()
Validates all properties.
Declaration
public void ValidateAll()
ValidateProperty(String)
Validates a specific property.
Declaration
public void ValidateProperty(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Events
EditorValueChanged
Declaration
public event EventHandler<EditorValueChangedEventArgs> EditorValueChanged
Event Type
System.EventHandler<EditorValueChangedEventArgs>
|
FormValidationCompleted
Occurs when the form validation is completed.
Declaration
public event EventHandler<FormValidationCompletedEventArgs> FormValidationCompleted
Event Type
System.EventHandler<FormValidationCompletedEventArgs>
|
PropertyValidationCompleted
Occurs when a property validation is completed.
Declaration
public event EventHandler<PropertyValidationCompletedEventArgs> PropertyValidationCompleted
Event Type
System.EventHandler<PropertyValidationCompletedEventArgs>
|
Explicit Interface Implementations
IPropertyValidationCompletedListener.RaisePropertyValidationCompleted(Boolean, String, Object, String)
Declaration
void IPropertyValidationCompletedListener.RaisePropertyValidationCompleted(bool isValid, string propertyName, object valueCandidate, string feedback)
Parameters
System.Boolean
isValid
|
System.String
propertyName
|
System.Object
valueCandidate
|
System.String
feedback
|