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