Class
DiagramBehaviors

Represents a class containing diagram behaviors exposed via attached properties.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

cs-api-definition
public class DiagramBehaviors : DependencyObject

Inheritance: objectDiagramBehaviors

Constructors

DiagramBehaviors()

Declaration

cs-api-definition
public DiagramBehaviors()

Fields

NameScopeProviderProperty

Registers the NameScopeProvider attached dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NameScopeProviderProperty

Field Value

DependencyProperty

TextElementForegroundProperty

Registers the TextElementForeground dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextElementForegroundProperty

Field Value

DependencyProperty

TextWrappingProperty

Registers the TextWrapping dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextWrappingProperty

Field Value

DependencyProperty

Methods

GetNameScopeProvider(DependencyObject)

Gets the NameScope provider for the diagram items.

Declaration

cs-api-definition
public static DependencyObject GetNameScopeProvider(DependencyObject obj)

Parameters

obj

DependencyObject

The RadDiagram.

Returns

DependencyObject

GetTextElementForeground(DependencyObject)

Gets the text element foreground.

Declaration

cs-api-definition
public static Brush GetTextElementForeground(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

Brush

GetTextWrapping(DependencyObject)

Gets the value of TextWrappingProperty property.

Declaration

cs-api-definition
public static TextWrapping GetTextWrapping(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

TextWrapping

SetNameScopeProvider(DependencyObject, DependencyObject)

Sets the NameScope provider for the diagram items.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public static void SetTextWrapping(DependencyObject obj, TextWrapping value)

Parameters

obj

DependencyObject

value

TextWrapping