DiagramBehaviors
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
public DiagramBehaviors()
Fields
NameScopeProviderProperty
DependencyProperty
Registers the NameScopeProvider attached dependency property.
public static readonly DependencyProperty NameScopeProviderProperty
TextElementForegroundProperty
DependencyProperty
Registers the TextElementForeground dependency property.
public static readonly DependencyProperty TextElementForegroundProperty
TextWrappingProperty
DependencyProperty
Registers the TextWrapping dependency property.
public static readonly DependencyProperty TextWrappingProperty
Methods
GetNameScopeProvider(DependencyObject)
DependencyObject
Gets the NameScope provider for the diagram items.
public static DependencyObject GetNameScopeProvider(DependencyObject obj)
The RadDiagram.
Returns:DependencyObject
Gets the text element foreground.
public static Brush GetTextElementForeground(DependencyObject obj)
The object.
Returns:Brush
GetTextWrapping(DependencyObject)
TextWrapping
Gets the value of TextWrappingProperty property.
public static TextWrapping GetTextWrapping(DependencyObject obj)
TextWrapping
Sets the NameScope provider for the diagram items.
public static void SetNameScopeProvider(DependencyObject obj, DependencyObject value)
The RadDiagram.
valueDependencyObjectThe name scope provider.
Sets the text element foreground.
public static void SetTextElementForeground(DependencyObject obj, Brush value)
The object.
valueBrushThe value.
Sets the TextWrappingProperty property.
public static void SetTextWrapping(DependencyObject obj, TextWrapping value)