Class
DiagramBehaviors

Represents a class containing diagram behaviors exposed via attached properties.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public class DiagramBehaviors : RadObject, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor

Inheritance: objectDisposableObjectRadObjectDiagramBehaviors

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChanged

Inherited Members RadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

DiagramBehaviors()

Declaration

cs-api-definition
public DiagramBehaviors()

Fields

TextElementForegroundProperty

Registers the TextElementForeground dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TextElementForegroundProperty

Field Value

RadProperty

TextWrappingProperty

Registers the TextWrapping dependency property.

Declaration

cs-api-definition
public static readonly RadProperty TextWrappingProperty

Field Value

RadProperty

Methods

GetTextElementForeground(RadObject)

Gets the text element foreground.

Declaration

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

Parameters

obj

RadObject

The object.

Returns

Brush

GetTextWrapping(RadObject)

Gets the value of TextWrappingProperty property.

Declaration

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

Parameters

obj

RadObject

Returns

TextWrapping

SetTextElementForeground(RadObject, Brush)

Sets the text element foreground.

Declaration

cs-api-definition
public static void SetTextElementForeground(RadObject obj, Brush value)

Parameters

obj

RadObject

The object.

value

Brush

The value.

SetTextWrapping(RadObject, TextWrapping)

Sets the TextWrappingProperty property.

Declaration

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

Parameters

obj

RadObject

value

TextWrapping