New to Telerik UI for WPFStart a free 30-day trial

Represents a class containing diagram behaviors exposed via attached properties.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public class DiagramBehaviors : DependencyObject

Inheritance: objectDiagramBehaviors

Constructors

C#
public DiagramBehaviors()

Fields

NameScopeProviderProperty

DependencyProperty

Registers the NameScopeProvider attached dependency property.

C#
public static readonly DependencyProperty NameScopeProviderProperty

Registers the TextElementForeground dependency property.

C#
public static readonly DependencyProperty TextElementForegroundProperty

TextWrappingProperty

DependencyProperty

Registers the TextWrapping dependency property.

C#
public static readonly DependencyProperty TextWrappingProperty

Methods

Gets the NameScope provider for the diagram items.

C#
public static DependencyObject GetNameScopeProvider(DependencyObject obj)
Parameters:objDependencyObject

The RadDiagram.

Returns:

DependencyObject

Gets the text element foreground.

C#
public static Brush GetTextElementForeground(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

Brush

Gets the value of TextWrappingProperty property.

C#
public static TextWrapping GetTextWrapping(DependencyObject obj)
Parameters:objDependencyObjectReturns:

TextWrapping

Sets the NameScope provider for the diagram items.

C#
public static void SetNameScopeProvider(DependencyObject obj, DependencyObject value)
Parameters:objDependencyObject

The RadDiagram.

valueDependencyObject

The name scope provider.

Sets the text element foreground.

C#
public static void SetTextElementForeground(DependencyObject obj, Brush value)
Parameters:objDependencyObject

The object.

valueBrush

The value.

Sets the TextWrappingProperty property.

C#
public static void SetTextWrapping(DependencyObject obj, TextWrapping value)
Parameters:objDependencyObjectvalueTextWrapping