DiagramOrgChartBehavior Members
Allows you to generate relationship diagrams from a hierarchical data source.Constructors
| Name | Description |
|---|---|
| DiagramOrgChartBehavior() | Initializes a new instance of the DiagramOrgChartBehavior class with default settings. |
Fields
Properties
| Name | Description |
|---|---|
| CanRefresh | Gets whether the diagram can fetch data from the source collections. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ChildrenPath | Gets or sets the path to the property that stores a collection of the diagram item’s subordinates. This is a dependnecy property. |
| ChildrenSelector | Gets or sets an object that chooses an item’s subordinates based on custom logic. This is a dependency property. |
| ClearExistingItems | Specifies whether to remove existing items before generating a diagram from the data source. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ConnectorsZOrder | Specifies whether the connectors overlap diagram items. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ConnectorTemplate | Gets or sets a template that defines the presentation of connectors. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ConnectorTemplateSelector | Gets or sets an object that chooses a connector template based on custom logic. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| EnableNotificationToSource | Gets or sets whether to send the data change notifications to the data source. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ExpandSubordinatesButtonMode | Gets or sets the display mode of the expand/collapse button. This is a dependency property. |
| ExpansionDepth | Gets or sets the number of hierarchy levels that expand when the diagram is generated. This is a dependency property. |
| GenerationDepth | Gets or sets the number of hierarchy levels that are retrieved from the data source when the diagram is generated. This is a dependency property. |
| HasAnimatedProperties | Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable. |
| HorizontalSpacing | For internal use. |
| ItemContainerStyle | Specifies the style that is applied to the container element generated for each item. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ItemsPath | Specifies the name of the data field that identifies the collection of nested data items. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ItemsSelector | Gets or sets the selector that returns the data field that identifies the collection of nested data items. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ItemsSource | Gets or sets the data source for items. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ItemTemplate | Gets or sets a template that defines the presentation of diagram items representing data objects. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| ItemTemplateSelector | Gets or sets an object that chooses a diagram item template based on custom logic. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| KeyMember | Specifies the name of the data field that identifies the data item. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| KeySelector | Gets or sets the selector that returns the data field that identifies the data item. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| LayoutDirection | For internal use. |
| LayoutKind | Specifies the automatic layout to be applied to the generated diagram. This is a dependency property. |
| PageMargin | For internal use. |
| ParentMember | Specifies the name of the data field that identifies the parent of a data item. This is a dependency property. |
| ParentMemberEmptyValue | |
| RefreshCommand | Gets the command that fetches data from the data source. Inherited from DiagramDataBindingBehaviorBase. |
| TemplateDiagram | Gets or sets the diagram whose settings are used to generate the diagram from the data source. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase. |
| VerticalSpacing | For internal use. |
Methods
| Name | Description |
|---|---|
| ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. Inherited from Animatable. |
| ApplyAnimationClock(DependencyProperty, AnimationClock) | Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable. |
| BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. Inherited from Animatable. |
| BeginAnimation(DependencyProperty, AnimationTimeline) | Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable. |
| BeginInit() | Starts the DiagramDataBindingBehaviorBase‘s initialization. Initialization occurs at runtime. Inherited from DiagramDataBindingBehaviorBase. |
| Clone() | Creates a modifiable clone of this Animatable, making deep copies of this object’s values. When copying this object’s dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Inherited from Animatable. |
| EndInit() | Ends the DiagramDataBindingBehaviorBase‘s initialization. Inherited from DiagramDataBindingBehaviorBase. |
| GetAnimationBaseValue(DependencyProperty) | Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable. |
| Refresh() | Fetches data from the source collections. Inherited from DiagramDataBindingBehaviorBase. |
| ShouldSerializeStoredWeakReference(DependencyObject) static | Specifies whether a dependency object should be serialized. Inherited from Animatable. |
Events
| Name | Description |
|---|---|
| CustomLayoutItems | Occurs before the generated items are added to the diagram. Inherited from DiagramDataBindingBehaviorBase. |
| DiagramItemAdded | Fires each time the data binding controller generates a diagram item. Inherited from DiagramDataBindingBehaviorBase. |
| DiagramItemAdding | Inherited from DiagramDataBindingBehaviorBase. |
| GenerateConnector | Fires before generating a connector from the data source and allows you to customize it. Inherited from DiagramDataBindingBehaviorBase. |
| GenerateItem | Fires before generating a diagram item representing a data object and allows you to customize it. Inherited from DiagramDataBindingBehaviorBase. |
| ItemsGenerated | Occurs when diagram items are generated from the data source. Inherited from DiagramDataBindingBehaviorBase. |
| UpdateConnector | Occurs when a property of the data object represented by a diagram connector has changed its value. Inherited from DiagramDataBindingBehaviorBase. |
| UpdateItem | Occurs when a property of the data object represented by a diagram item has changed its value. Inherited from DiagramDataBindingBehaviorBase. |
See Also