Reflection
The default behavior for DataUiGrid is to reflect properties from the assigned Instance. When the Instance is assigned, the Grid automatically populates its Categories with members based on reflection.
Properties which have the System.ComponentModel.CategoryAttribute
will be categorized according to the category assigned. Otherwise, properties will be put in the Uncategorized category.
Manually Selecting Properties
By default all public fields and properties are displayed in a DataUiGrid. To control which properties are shown, the categories can be cleared, and individual InstanceMembers can be added for the desired properties.
For example, the following code clears the properties, and shows only X, Y, and Z:
Last updated