ClassDiagramBehaviors
Represents a class containing diagram behaviors exposed via attached properties.
Definition
Namespace:Telerik.Windows.Controls.Diagrams
Assembly:Telerik.Windows.Controls.Diagrams.dll
Syntax:
public class DiagramBehaviors : DependencyObject
Inheritance: objectDiagramBehaviors
Constructors
DiagramBehaviors()
Declaration
public DiagramBehaviors()
Fields
NameScopeProviderProperty
Registers the NameScopeProvider attached dependency property.
Declaration
public static readonly DependencyProperty NameScopeProviderProperty
Field Value
DependencyProperty
TextElementForegroundProperty
Registers the TextElementForeground dependency property.
Declaration
public static readonly DependencyProperty TextElementForegroundProperty
Field Value
DependencyProperty
TextWrappingProperty
Registers the TextWrapping dependency property.
Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
DependencyProperty
Methods
GetNameScopeProvider(DependencyObject)
Gets the NameScope provider for the diagram items.
Declaration
public static DependencyObject GetNameScopeProvider(DependencyObject obj)
Parameters
obj
DependencyObject
The RadDiagram.
Returns
DependencyObject
GetTextElementForeground(DependencyObject)
Gets the text element foreground.
Declaration
public static Brush GetTextElementForeground(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
Brush
GetTextWrapping(DependencyObject)
Gets the value of TextWrappingProperty property.
Declaration
public static TextWrapping GetTextWrapping(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
TextWrapping
SetNameScopeProvider(DependencyObject, DependencyObject)
Sets the NameScope provider for the diagram items.
Declaration
public static void SetNameScopeProvider(DependencyObject obj, DependencyObject value)
Parameters
obj
DependencyObject
The RadDiagram.
value
DependencyObject
The name scope provider.
SetTextElementForeground(DependencyObject, Brush)
Sets the text element foreground.
Declaration
public static void SetTextElementForeground(DependencyObject obj, Brush value)
Parameters
obj
DependencyObject
The object.
value
Brush
The value.
SetTextWrapping(DependencyObject, TextWrapping)
Sets the TextWrappingProperty property.
Declaration
public static void SetTextWrapping(DependencyObject obj, TextWrapping value)
Parameters
obj
DependencyObject
value
TextWrapping