DiagramDataBindingBehaviorBase Members
Serves as a base for behaviors that are used to bind the Diagram Control to data.Constructors
| Name | Description |
|---|---|
| DiagramDataBindingBehaviorBase() | Initializes a new instance of the DiagramDataBindingBehaviorBase 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. |
| ClearExistingItems | Specifies whether to remove existing items before generating a diagram from the data source. This is a dependency property. |
| ConnectorsZOrder | Specifies whether the connectors overlap diagram items. This is a dependency property. |
| ConnectorTemplate | Gets or sets a template that defines the presentation of connectors. This is a dependency property. |
| ConnectorTemplateSelector | Gets or sets an object that chooses a connector template based on custom logic. This is a dependency property. |
| EnableNotificationToSource | Gets or sets whether to send the data change notifications to the data source. 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. |
| ItemContainerStyle | Specifies the style that is applied to the container element generated for each item. This is a dependency property. |
| ItemsPath | Specifies the name of the data field that identifies the collection of nested data items. This is a dependency property. |
| ItemsSelector | Gets or sets the selector that returns the data field that identifies the collection of nested data items. This is a dependency property. |
| ItemsSource | Gets or sets the data source for items. This is a dependency property. |
| ItemTemplate | Gets or sets a template that defines the presentation of diagram items representing data objects. This is a dependency property. |
| ItemTemplateSelector | Gets or sets an object that chooses a diagram item template based on custom logic. This is a dependency property. |
| KeyMember | Specifies the name of the data field that identifies the data item. This is a dependency property. |
| KeySelector | Gets or sets the selector that returns the data field that identifies the data item. This is a dependency property. |
| RefreshCommand | Gets the command that fetches data from the data source. |
| TemplateDiagram | Gets or sets the diagram whose settings are used to generate the diagram from the data source. This is a dependency property. |
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. |
| 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. |
| GetAnimationBaseValue(DependencyProperty) | Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable. |
| Refresh() | Fetches data from the source collections. |
| 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. |
| DiagramItemAdded | Fires each time the data binding controller generates a diagram item. |
| DiagramItemAdding | |
| GenerateConnector | Fires before generating a connector from the data source and allows you to customize it. |
| GenerateItem | Fires before generating a diagram item representing a data object and allows you to customize it. |
| ItemsGenerated | Occurs when diagram items are generated from the data source. |
| UpdateConnector | Occurs when a property of the data object represented by a diagram connector has changed its value. |
| UpdateItem | Occurs when a property of the data object represented by a diagram item has changed its value. |
See Also