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
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
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
|
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
|