Class
SettingsPaneView

Represents the SettingsPaneView Control.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Diagram")]
public class SettingsPaneView : SettingsPaneBase

Inheritance: objectSettingsPaneBaseSettingsPaneView

Inherited Members SettingsPaneBase.DiagramPropertySettingsPaneBase.IsActivePropertySettingsPaneBase.OnDiagramPropertyChanged(RadDiagram, RadDiagram)SettingsPaneBase.OnDiagramSelectionBoundsChanged(object, EventArgs)SettingsPaneBase.DiagramSettingsPaneBase.IsActive

Constructors

SettingsPaneView()

Initializes a new instance of the SettingsPaneView class.

Declaration

cs-api-definition
public SettingsPaneView()

Fields

ContainerEditItemTypeProperty

Identifies the ContainerEditType attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContainerEditItemTypeProperty

Field Value

DependencyProperty

Remarks

It is always used in combination with ContainerEditProperty property. When the SettingsPane is used on the type set by the ContainerEditType the property set by the ContainerEditProperty is activated (on the container that is used).

ContainerEditPropertyProperty

Identifies the ContainerEditProperty attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContainerEditPropertyProperty

Field Value

DependencyProperty

Remarks

It is always used in combination with the ContainerEditItemType property. Identifies whether the IsEnabled or Visibility property of the container should be changed based on the ContainerEditItemType that is set and the currently edited object - shape / connection.

CurrentEditTypeProperty

The type of the edited objects - shapes/connections or both.

Declaration

cs-api-definition
public static readonly DependencyProperty CurrentEditTypeProperty

Field Value

DependencyProperty

EditorFallbackPropertyNameProperty

Identifies the EditorFallbackPropertyName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditorFallbackPropertyNameProperty

Field Value

DependencyProperty

Remarks

If set, the editor will get its default or fallback value from this property instead of the SettingsPaneView.EditorPropertyName.

EditorPropertyNameProperty

Identifies the EditorPropertyName dependency property. It indicates the property of the shape/connection/container shape which will be affected by the value of the EditorValue property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditorPropertyNameProperty

Field Value

DependencyProperty

EditorTypeItemProperty

Identifies the EditorItemType dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditorTypeItemProperty

Field Value

DependencyProperty

Remarks

Identifies what type of items can the editor control affect - shapes/connections/custom or both of them.

EditorValueProperty

Identifies the EditorValue dependency property. It indicates which property of the editor will be used for editing the shape/connection/container shape.

Declaration

cs-api-definition
public static readonly DependencyProperty EditorValueProperty

Field Value

DependencyProperty

IsRadioButtonPanelProperty

Identifies the IsRadioButtonPanel attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsRadioButtonPanelProperty

Field Value

DependencyProperty

RadioButtonValueProperty

Identifies the RadioButtonValue attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty RadioButtonValueProperty

Field Value

DependencyProperty

RegisterContainerEvent

This event fires when a control that edits a property of a shape/connection is loaded.

Declaration

cs-api-definition
public static readonly RoutedEvent RegisterContainerEvent

Field Value

RoutedEvent

RegisterEditorEvent

This event fires when a control that edits a property of a shape/connection is loaded.

Declaration

cs-api-definition
public static readonly RoutedEvent RegisterEditorEvent

Field Value

RoutedEvent

Properties

ContextItems

Gets or sets the context items.

Declaration

cs-api-definition
public IEnumerable<IDiagramItem> ContextItems { get; set; }

Property Value

IEnumerable<IDiagramItem>

CurrentEditType

Gets or sets the type of the current edit type.

Declaration

cs-api-definition
public EditItemType CurrentEditType { get; set; }

Property Value

EditItemType

Methods

GetContainerEditItemType(DependencyObject)

Gets the type of the container edit.

Declaration

cs-api-definition
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetContainerEditItemType(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

EditItemType

GetContainerEditProperty(DependencyObject)

Gets the container property.

Declaration

cs-api-definition
public static ContainerEditProperty GetContainerEditProperty(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

ContainerEditProperty

GetEditorFallbackPropertyName(DependencyObject)

Gets the EditorFallbackPropertyName property.

Declaration

cs-api-definition
public static string GetEditorFallbackPropertyName(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

string

GetEditorItemType(DependencyObject)

Gets the EditorItemType property. Identifies what type of items can the editor control affect - shapes/connections/custom or both of them.

Declaration

cs-api-definition
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetEditorItemType(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

EditItemType

GetEditorPropertyName(DependencyObject)

Gets the EditorPropertyName property. It indicates the property of the shape/connection/container shape which will be affected by the value of the EditorValue property.

Declaration

cs-api-definition
public static string GetEditorPropertyName(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

string

GetEditorValue(DependencyObject)

Gets the EditorValue property. It indicates which property of the editor will be used for editing the shape/connection/container shape.

Declaration

cs-api-definition
public static object GetEditorValue(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

object

GetIsRadioButtonPanel(DependencyObject)

Gets the IsToggleButtonPanel value.

Declaration

cs-api-definition
public static bool GetIsRadioButtonPanel(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

bool

GetRadioButtonValue(DependencyObject)

Gets the RadioButtonValue.

Declaration

cs-api-definition
public static object GetRadioButtonValue(DependencyObject obj)

Parameters

obj

DependencyObject

The object.

Returns

object

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnDiagramAdditionalContentActivated(object, AdditionalContentActivatedEventArgs)

Called when diagram addition control is activated.

Declaration

cs-api-definition
protected override void OnDiagramAdditionalContentActivated(object sender, AdditionalContentActivatedEventArgs e)

Parameters

sender

object

e

AdditionalContentActivatedEventArgs

Overrides SettingsPaneBase.OnDiagramAdditionalContentActivated(object, AdditionalContentActivatedEventArgs)

OnDiagramSelectionChanged(object, SelectionChangedEventArgs)

Called when diagram control selection is changed.

Declaration

cs-api-definition
protected override void OnDiagramSelectionChanged(object sender, SelectionChangedEventArgs e)

Parameters

sender

object

The sender.

e

SelectionChangedEventArgs

The SelectionChangedEventArgs instance containing the event data.

Overrides SettingsPaneBase.OnDiagramSelectionChanged(object, SelectionChangedEventArgs)

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

OnIsActivePropertyChanged(bool, bool)

Called when is active property is changed.

Declaration

cs-api-definition
protected override void OnIsActivePropertyChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

The old value.

newValue

bool

The new value.

Overrides SettingsPaneBase.OnIsActivePropertyChanged(bool, bool)

OnValueChanged(string, object, EditItemType, object)

Called when [value changed].

Declaration

cs-api-definition
protected virtual bool OnValueChanged(string propertyName, object newValue, EditItemType editItemType, object editor)

Parameters

propertyName

string

Name of the property.

newValue

object

The new value.

editItemType

EditItemType

Type of the edit item.

editor

object

The editor.

Returns

bool

ResolveCurrentItemType()

When overridden, resolves the CurrentItemType property value.

Declaration

cs-api-definition
protected virtual void ResolveCurrentItemType()

SetContainerEditItemType(DependencyObject, EditItemType)

Sets the type of the container edit.

Declaration

cs-api-definition
public static void SetContainerEditItemType(DependencyObject obj, EditItemType value)

Parameters

obj

DependencyObject

The object.

value

EditItemType

The value.

SetContainerEditProperty(DependencyObject, ContainerEditProperty)

Sets the container property.

Declaration

cs-api-definition
public static void SetContainerEditProperty(DependencyObject obj, ContainerEditProperty value)

Parameters

obj

DependencyObject

The object.

value

ContainerEditProperty

The value.

SetEditorFallbackPropertyName(DependencyObject, string)

Sets the EditorFallbackPropertyName property.

Declaration

cs-api-definition
public static void SetEditorFallbackPropertyName(DependencyObject obj, string value)

Parameters

obj

DependencyObject

The object.

value

string

The value.

SetEditorItemType(DependencyObject, EditItemType)

Sets the EditorItemType property. Identifies what type of items can the editor control affect - shapes/connections/custom or both of them.

Declaration

cs-api-definition
public static void SetEditorItemType(DependencyObject obj, EditItemType value)

Parameters

obj

DependencyObject

The object.

value

EditItemType

The value.

SetEditorPropertyName(DependencyObject, string)

Sets the EditorPropertyName property. It indicates the property of the shape/connection/container shape which will be affected by the value of the EditorValue property.

Declaration

cs-api-definition
public static void SetEditorPropertyName(DependencyObject obj, string value)

Parameters

obj

DependencyObject

value

string

SetEditorValue(DependencyObject, object)

Sets the EditorValue property. It indicates which property of the editor will be used for editing the shape/connection/container shape.

Declaration

cs-api-definition
public static void SetEditorValue(DependencyObject obj, object value)

Parameters

obj

DependencyObject

value

object

SetIsRadioButtonPanel(DependencyObject, bool)

Sets the IsToggleButtonPanel value.

Declaration

cs-api-definition
public static void SetIsRadioButtonPanel(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The object.

value

bool

If set to true [value].

SetRadioButtonValue(DependencyObject, object)

Sets the RadioButtonValue.

Declaration

cs-api-definition
public static void SetRadioButtonValue(DependencyObject obj, object value)

Parameters

obj

DependencyObject

The object.

value

object

The value.

Events

RegisterContainer

Occurs when container is registered.

Declaration

cs-api-definition
public event RadRoutedEventHandler RegisterContainer

Event Value

RadRoutedEventHandler

RegisterEditor

Occurs when value editor is registered.

Declaration

cs-api-definition
public event RadRoutedEventHandler RegisterEditor

Event Value

RadRoutedEventHandler