![]() ![]() The following table lists supported attributes and data form items used to define data form editors.Įach attribute and data form item object has properties to specify editor-specific settings. In XAML or C# code, add a data form item object to the DataFormView.Items collection and use the DataFormItem.FieldName property to bind the editor to the data object’s property.In C# code, apply an attribute to a property of the data object’s class.To explicitly specify the data form editor for a data object’s property, use one of the approaches below: Numeric* - Byte, Decimal, Double, Int16, Int32, Int64, SByte, Single, UInt16, UInt32, UInt64. When you assign a data object to the DataFormView.DataObject property, the data form generates editors for all object properties and populates the Items collection with objects that correspond to property types. An individual editor is a DataFormItem class descendant. Editors - OverviewĭataFormView stores its editors in the Items collection. This lesson explains how a data form generates editors, lists supported editor types, and demonstrates how to assign a specific editor to the property of a data form’s underlying data object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |