Class SettingsPaneView
Represents the SettingsPaneView Control.
Inherited Members
Namespace: Telerik.Windows.Controls.Diagrams.Extensions
Assembly: Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax
[TelerikToolboxCategory("Diagram")]
public class SettingsPaneView : SettingsPaneBase
Constructors
SettingsPaneView()
Fields
ContainerEditItemTypeProperty
Identifies the ContainerEditType attached property.
Declaration
public static readonly DependencyProperty ContainerEditItemTypeProperty
Field Value
System.Windows.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
public static readonly DependencyProperty ContainerEditPropertyProperty
Field Value
System.Windows.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
public static readonly DependencyProperty CurrentEditTypeProperty
Field Value
System.Windows.DependencyProperty
|
EditorFallbackPropertyNameProperty
Identifies the EditorFallbackPropertyName dependency property.
Declaration
public static readonly DependencyProperty EditorFallbackPropertyNameProperty
Field Value
System.Windows.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
public static readonly DependencyProperty EditorPropertyNameProperty
Field Value
System.Windows.DependencyProperty
|
EditorTypeItemProperty
Identifies the EditorItemType dependency property.
Declaration
public static readonly DependencyProperty EditorTypeItemProperty
Field Value
System.Windows.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
public static readonly DependencyProperty EditorValueProperty
Field Value
System.Windows.DependencyProperty
|
IsRadioButtonPanelProperty
Identifies the IsRadioButtonPanel attached property.
Declaration
public static readonly DependencyProperty IsRadioButtonPanelProperty
Field Value
System.Windows.DependencyProperty
|
RadioButtonValueProperty
Identifies the RadioButtonValue attached property.
Declaration
public static readonly DependencyProperty RadioButtonValueProperty
Field Value
System.Windows.DependencyProperty
|
RegisterContainerEvent
This event fires when a control that edits a property of a shape/connection is loaded.
Declaration
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
public static readonly RoutedEvent RegisterEditorEvent
Field Value
RoutedEvent
|
Properties
ContextItems
Gets or sets the context items.
Declaration
public IEnumerable<IDiagramItem> ContextItems { get; set; }
Property Value
System.Collections.Generic.IEnumerable<IDiagramItem>
|
CurrentEditType
Gets or sets the type of the current edit type.
Declaration
public EditItemType CurrentEditType { get; set; }
Property Value
EditItemType
|
Methods
add_RegisterContainer(RadRoutedEventHandler)
Declaration
public void add_RegisterContainer(RadRoutedEventHandler value)
Parameters
RadRoutedEventHandler
value
|
add_RegisterEditor(RadRoutedEventHandler)
Declaration
public void add_RegisterEditor(RadRoutedEventHandler value)
Parameters
RadRoutedEventHandler
value
|
GetContainerEditItemType(DependencyObject)
Gets the type of the container edit.
Declaration
public static EditItemType GetContainerEditItemType(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
EditItemType
|
GetContainerEditProperty(DependencyObject)
Gets the container property.
Declaration
public static ContainerEditProperty GetContainerEditProperty(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
ContainerEditProperty
|
GetEditorFallbackPropertyName(DependencyObject)
Gets the EditorFallbackPropertyName property.
Declaration
public static string GetEditorFallbackPropertyName(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
System.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
public static EditItemType GetEditorItemType(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
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
public static string GetEditorPropertyName(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.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
public static object GetEditorValue(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
System.Object
|
GetIsRadioButtonPanel(DependencyObject)
Gets the IsToggleButtonPanel value.
Declaration
public static bool GetIsRadioButtonPanel(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
System.Boolean
|
GetRadioButtonValue(DependencyObject)
Gets the RadioButtonValue.
Declaration
public static object GetRadioButtonValue(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The object. |
Returns
System.Object
|
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnDiagramAdditionalContentActivated(Object, AdditionalContentActivatedEventArgs)
Called when diagram addition control is activated.
Declaration
protected override void OnDiagramAdditionalContentActivated(object sender, AdditionalContentActivatedEventArgs e)
Parameters
System.Object
sender
|
AdditionalContentActivatedEventArgs
e
|
Overrides
OnDiagramSelectionChanged(Object, SelectionChangedEventArgs)
Called when diagram control selection is changed.
Declaration
protected override void OnDiagramSelectionChanged(object sender, SelectionChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
SelectionChangedEventArgs
e
The System.Windows.Controls.SelectionChangedEventArgs instance containing the event data. |
Overrides
OnIsActivePropertyChanged(Boolean, Boolean)
Called when is active property is changed.
Declaration
protected override void OnIsActivePropertyChanged(bool oldValue, bool newValue)
Parameters
System.Boolean
oldValue
The old value. |
System.Boolean
newValue
The new value. |
Overrides
OnValueChanged(String, Object, EditItemType, Object)
Called when [value changed].
Declaration
protected virtual bool OnValueChanged(string propertyName, object newValue, EditItemType editItemType, object editor)
Parameters
System.String
propertyName
Name of the property. |
System.Object
newValue
The new value. |
EditItemType
editItemType
Type of the edit item. |
System.Object
editor
The editor. |
Returns
System.Boolean
|
remove_RegisterContainer(RadRoutedEventHandler)
Declaration
public void remove_RegisterContainer(RadRoutedEventHandler value)
Parameters
RadRoutedEventHandler
value
|
remove_RegisterEditor(RadRoutedEventHandler)
Declaration
public void remove_RegisterEditor(RadRoutedEventHandler value)
Parameters
RadRoutedEventHandler
value
|
ResolveCurrentItemType()
When overridden, resolves the CurrentItemType property value.
Declaration
protected virtual void ResolveCurrentItemType()
SetContainerEditItemType(DependencyObject, EditItemType)
Sets the type of the container edit.
Declaration
public static void SetContainerEditItemType(DependencyObject obj, EditItemType value)
Parameters
System.Windows.DependencyObject
obj
The object. |
EditItemType
value
The value. |
SetContainerEditProperty(DependencyObject, ContainerEditProperty)
Sets the container property.
Declaration
public static void SetContainerEditProperty(DependencyObject obj, ContainerEditProperty value)
Parameters
System.Windows.DependencyObject
obj
The object. |
ContainerEditProperty
value
The value. |
SetEditorFallbackPropertyName(DependencyObject, String)
Sets the EditorFallbackPropertyName property.
Declaration
public static void SetEditorFallbackPropertyName(DependencyObject obj, string value)
Parameters
System.Windows.DependencyObject
obj
The object. |
System.String
value
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
public static void SetEditorItemType(DependencyObject obj, EditItemType value)
Parameters
System.Windows.DependencyObject
obj
The object. |
EditItemType
value
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
public static void SetEditorPropertyName(DependencyObject obj, string value)
Parameters
System.Windows.DependencyObject
obj
|
System.String
value
|
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
public static void SetEditorValue(DependencyObject obj, object value)
Parameters
System.Windows.DependencyObject
obj
|
System.Object
value
|
SetIsRadioButtonPanel(DependencyObject, Boolean)
Sets the IsToggleButtonPanel value.
Declaration
public static void SetIsRadioButtonPanel(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
The object. |
System.Boolean
value
If set to |
SetRadioButtonValue(DependencyObject, Object)
Sets the RadioButtonValue.
Declaration
public static void SetRadioButtonValue(DependencyObject obj, object value)
Parameters
System.Windows.DependencyObject
obj
The object. |
System.Object
value
The value. |
Events
RegisterContainer
Occurs when container is registered.
Declaration
public event RadRoutedEventHandler RegisterContainer
Event Type
RadRoutedEventHandler
|
RegisterEditor
Occurs when value editor is registered.
Declaration
public event RadRoutedEventHandler RegisterEditor
Event Type
RadRoutedEventHandler
|