Skip to main content

DiagramDataBindingBehavior Members

Allows you to generate diagrams from a data source.

Constructors

Name Description
DiagramDataBindingBehavior() Initializes a new instance of the DiagramDataBindingBehavior class with default settings.

Fields

Name Description
CanRefreshProperty static Identifies the DiagramDataBindingBehaviorBase.CanRefresh dependency property. Inherited from DiagramDataBindingBehaviorBase.
ClearExistingItemsProperty static Identifies the DiagramDataBindingBehaviorBase.ClearExistingItems dependency property. Inherited from DiagramDataBindingBehaviorBase.
ConnectorFromMemberProperty static Identifies the DiagramDataBindingBehavior.ConnectorFromMember dependency property.
ConnectorKeyMemberProperty static
ConnectorsSourceProperty static Identifies the DiagramDataBindingBehavior.ConnectorsSource dependency property.
ConnectorsZOrderProperty static Identifies the DiagramDataBindingBehaviorBase.ConnectorsZOrder dependency property. Inherited from DiagramDataBindingBehaviorBase.
ConnectorTemplateProperty static Identifies the DiagramDataBindingBehaviorBase.ConnectorTemplate dependency property. Inherited from DiagramDataBindingBehaviorBase.
ConnectorTemplateSelectorProperty static Identifies the DiagramDataBindingBehaviorBase.ConnectorTemplateSelector dependency property. Inherited from DiagramDataBindingBehaviorBase.
ConnectorToMemberProperty static Identifies the DiagramDataBindingBehavior.ConnectorToMember dependency property.
EnableNotificationToSourceProperty static Identifies the DiagramDataBindingBehaviorBase.EnableNotificationToSource dependency property. Inherited from DiagramDataBindingBehaviorBase.
ItemContainerStyleProperty static Identifies the DiagramDataBindingBehaviorBase.ItemContainerStyle dependency property. Inherited from DiagramDataBindingBehaviorBase.
ItemsPathProperty static Identifies the DiagramDataBindingBehaviorBase.ItemsPath dependency property. Inherited from DiagramDataBindingBehaviorBase.
ItemsSelectorProperty static Identifies the DiagramDataBindingBehaviorBase.ItemsSelector dependency property. Inherited from DiagramDataBindingBehaviorBase.
ItemsSourceProperty static Identifies the DiagramDataBindingBehaviorBase.ItemsSource dependency property. Inherited from DiagramDataBindingBehaviorBase.
ItemTemplateProperty static Identifies the DiagramDataBindingBehaviorBase.ItemTemplate dependency property. Inherited from DiagramDataBindingBehaviorBase.
ItemTemplateSelectorProperty static Identifies the DiagramDataBindingBehaviorBase.ItemTemplateSelector dependency property. Inherited from DiagramDataBindingBehaviorBase.
KeyMemberProperty static Identifies the DiagramDataBindingBehaviorBase.KeyMember dependency property. Inherited from DiagramDataBindingBehaviorBase.
KeySelectorProperty static Identifies the DiagramDataBindingBehaviorBase.KeySelector dependency property. Inherited from DiagramDataBindingBehaviorBase.
LayoutKindProperty static Identifies the DiagramDataBindingBehavior.LayoutKind dependency property.
TemplateDiagramProperty static Identifies the DiagramDataBindingBehaviorBase.TemplateDiagram dependency property. Inherited from DiagramDataBindingBehaviorBase.

Properties

Name Description
CanRefresh Gets whether the diagram can fetch data from the source collections. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase.
ClearExistingItems Specifies whether to remove existing items before generating a diagram from the data source. This is a dependency property. Inherited from DiagramDataBindingBehaviorBase.
ConnectorFromMember Specifies the name of the data field that identifies the item to use as the connector’s begin item. This is a dependency property.
ConnectorKeyMember
ConnectorsSource Gets or sets the data source for connectors. This is a dependency property.
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.
ConnectorToMember Specifies the name of the data field that identifies the item to use as the connector’s end item. 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. Inherited from DiagramDataBindingBehaviorBase.
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. 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.
LayoutKind Specifies the automatic layout to be applied to the generated diagram. This is a dependency property.
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.

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.
DiagramConnectorAdded Fires each time the data binding controller generates a connector.
DiagramConnectorAdding Fires each time the user draws a new connector in a data-bound diagram.
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