![]() ![]() When you bind to a large data source, the generated diagram may occupy much space on the canvas. The following example demonstrates the DiagramControl bound to hierarchical data. ![]() Specifies the path to the property that contains subordinates of a diagram item.ĭiagramOrgChartController.ChildrenSelectorĪllows choosing an item’s subordinates based on custom logic. Specifies the path to a collection of root items. (via DiagramDataBindingControllerBase.DataSource) The following table lists the properties used to map the DiagramControl to hierarchical data. Each item stores a collection of its subordinates. The following image demonstrates the result.Ī hierarchical data source usually contains a collection of root items. Using the Item Template Designer, map the shape’s Content property to the Employee.Name. Public Property Data() As List(Of Employee)ĭiagramOrgChartController1.DataSource = chart.Data ĭiagramOrgChartController1.DataSource = chart.Data
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |