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

Represents the SettingsPaneView Control.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions

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

Syntax:

C#
[TelerikToolboxCategory("Diagram")]
public class SettingsPaneView : SettingsPaneBase

Inheritance: objectSettingsPaneBaseSettingsPaneView

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

Constructors

Initializes a new instance of the SettingsPaneView class.

C#
public SettingsPaneView()

Fields

Identifies the ContainerEditType attached property.

C#
public static readonly DependencyProperty ContainerEditItemTypeProperty
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).

Identifies the ContainerEditProperty attached property.

C#
public static readonly DependencyProperty ContainerEditPropertyProperty
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

DependencyProperty

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

C#
public static readonly DependencyProperty CurrentEditTypeProperty

Identifies the EditorFallbackPropertyName dependency property.

C#
public static readonly DependencyProperty EditorFallbackPropertyNameProperty
Remarks:

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

EditorPropertyNameProperty

DependencyProperty

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.

C#
public static readonly DependencyProperty EditorPropertyNameProperty

EditorTypeItemProperty

DependencyProperty

Identifies the EditorItemType dependency property.

C#
public static readonly DependencyProperty EditorTypeItemProperty
Remarks:

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

EditorValueProperty

DependencyProperty

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

C#
public static readonly DependencyProperty EditorValueProperty

IsRadioButtonPanelProperty

DependencyProperty

Identifies the IsRadioButtonPanel attached property.

C#
public static readonly DependencyProperty IsRadioButtonPanelProperty

RadioButtonValueProperty

DependencyProperty

Identifies the RadioButtonValue attached property.

C#
public static readonly DependencyProperty RadioButtonValueProperty

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

C#
public static readonly RoutedEvent RegisterContainerEvent

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

C#
public static readonly RoutedEvent RegisterEditorEvent

Properties

Gets or sets the context items.

C#
public IEnumerable<IDiagramItem> ContextItems { get; set; }

Gets or sets the type of the current edit type.

C#
public EditItemType CurrentEditType { get; set; }

Methods

Gets the type of the container edit.

C#
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetContainerEditItemType(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

EditItemType

Gets the container property.

C#
public static ContainerEditProperty GetContainerEditProperty(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

ContainerEditProperty

Gets the EditorFallbackPropertyName property.

C#
public static string GetEditorFallbackPropertyName(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

string

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

C#
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetEditorItemType(DependencyObject obj)
Parameters:objDependencyObjectReturns:

EditItemType

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.

C#
public static string GetEditorPropertyName(DependencyObject obj)
Parameters:objDependencyObjectReturns:

string

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

C#
public static object GetEditorValue(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

object

Gets the IsToggleButtonPanel value.

C#
public static bool GetIsRadioButtonPanel(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

bool

Gets the RadioButtonValue.

C#
public static object GetRadioButtonValue(DependencyObject obj)
Parameters:objDependencyObject

The object.

Returns:

object

C#
public override void OnApplyTemplate()
C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Called when diagram addition control is activated.

C#
protected override void OnDiagramAdditionalContentActivated(object sender, AdditionalContentActivatedEventArgs e)
Parameters:senderobjecteAdditionalContentActivatedEventArgs

Overrides: SettingsPaneBase.OnDiagramAdditionalContentActivated(object, AdditionalContentActivatedEventArgs)

Called when diagram control selection is changed.

C#
protected override void OnDiagramSelectionChanged(object sender, SelectionChangedEventArgs e)
Parameters:senderobject

The sender.

eSelectionChangedEventArgs

The SelectionChangedEventArgs instance containing the event data.

Overrides: SettingsPaneBase.OnDiagramSelectionChanged(object, SelectionChangedEventArgs)

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Called when is active property is changed.

C#
protected override void OnIsActivePropertyChanged(bool oldValue, bool newValue)
Parameters:oldValuebool

The old value.

newValuebool

The new value.

Overrides: SettingsPaneBase.OnIsActivePropertyChanged(bool, bool)

Called when [value changed].

C#
protected virtual bool OnValueChanged(string propertyName, object newValue, EditItemType editItemType, object editor)
Parameters:propertyNamestring

Name of the property.

newValueobject

The new value.

editItemTypeEditItemType

Type of the edit item.

editorobject

The editor.

Returns:

bool

When overridden, resolves the CurrentItemType property value.

C#
protected virtual void ResolveCurrentItemType()

Sets the type of the container edit.

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

The object.

valueEditItemType

The value.

Sets the container property.

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

The object.

valueContainerEditProperty

The value.

Sets the EditorFallbackPropertyName property.

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

The object.

valuestring

The value.

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

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

The object.

valueEditItemType

The value.

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.

C#
public static void SetEditorPropertyName(DependencyObject obj, string value)
Parameters:objDependencyObjectvaluestring

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

C#
public static void SetEditorValue(DependencyObject obj, object value)
Parameters:objDependencyObjectvalueobject

Sets the IsToggleButtonPanel value.

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

The object.

valuebool

If set to true [value].

Sets the RadioButtonValue.

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

The object.

valueobject

The value.

Events

Occurs when container is registered.

C#
public event RadRoutedEventHandler RegisterContainer

Occurs when value editor is registered.

C#
public event RadRoutedEventHandler RegisterEditor