This control is a multipurpose data presentation system that can display data as a tree. With the help of this control it is possible to create unique and sophisticated but at the same time elegant and appealing user interfaces.
The control is used in cases when a data in a single data source contain master – detail relationship. Using this control no binding or any other kind of defining is needed. By only setting a few properties control creates the hierarchy itself.
Control can serve as a parameter provider if data source in the MxAdapter component are organize and linked appropriately with foreign keys.
Control has many properties that define its appearance, design, behaviour etc.
Data Properties
Properties in this section define how and which data is bound to the control.
Property | Description |
---|---|
DataSources | Defines the data source and its fields used to present the data in the control. |
Design Properties
Properties in this section define basic properties of the control, appearance and functionality of the control.
Property | Description |
---|---|
Name | Defines the name of the control or the component. |
NOTE: Properties described here are related exclusively to Mx Controls. For the description of other properties please see Developer Express documentation.
Example
Tree control is used when data can be undoubtedly represented by a single field and organized in the tree view.
To implement Tree control
- In Solution Explorer open the desired MxPart component and add Tree control from the Toolbox on the canvas to the desired location.
- Select the control and open Property Window.
- In DataSources property define the data source and configure all necessary properties in order to define the hierarchy in which the data will be displayed in the control.
MxPart
DataSources