ClassSettingsPaneView
Represents the SettingsPaneView Control.
Definition
Namespace:Telerik.Windows.Controls.Diagrams.Extensions
Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax:
[TelerikToolboxCategory("Diagram")]
public class SettingsPaneView : SettingsPaneBase
Inheritance: objectSettingsPaneBaseSettingsPaneView
Inherited Members
Constructors
SettingsPaneView()
Initializes a new instance of the SettingsPaneView class.
Declaration
public SettingsPaneView()
Fields
ContainerEditItemTypeProperty
Identifies the ContainerEditType attached property.
Declaration
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
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
public static readonly DependencyProperty CurrentEditTypeProperty
Field Value
DependencyProperty
EditorFallbackPropertyNameProperty
Identifies the EditorFallbackPropertyName dependency property.
Declaration
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
public static readonly DependencyProperty EditorPropertyNameProperty
Field Value
DependencyProperty
EditorTypeItemProperty
Identifies the EditorItemType dependency property.
Declaration
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
public static readonly DependencyProperty EditorValueProperty
Field Value
DependencyProperty
IsRadioButtonPanelProperty
Identifies the IsRadioButtonPanel attached property.
Declaration
public static readonly DependencyProperty IsRadioButtonPanelProperty
Field Value
DependencyProperty
RadioButtonValueProperty
Identifies the RadioButtonValue attached property.
Declaration
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
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
CurrentEditType
Gets or sets the type of the current edit type.
Declaration
public EditItemType CurrentEditType { get; set; }
Property Value
Methods
GetContainerEditItemType(DependencyObject)
Gets the type of the container edit.
Declaration
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetContainerEditItemType(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetContainerEditProperty(DependencyObject)
Gets the container property.
Declaration
public static ContainerEditProperty GetContainerEditProperty(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetEditorFallbackPropertyName(DependencyObject)
Gets the EditorFallbackPropertyName property.
Declaration
public static string GetEditorFallbackPropertyName(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetEditorItemType(DependencyObject)
Gets the EditorItemType property. Identifies what type of items can the editor control affect - shapes/connections/custom or both of them.
Declaration
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetEditorItemType(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
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
obj
DependencyObject
Returns
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
obj
DependencyObject
The object.
Returns
GetIsRadioButtonPanel(DependencyObject)
Gets the IsToggleButtonPanel value.
Declaration
public static bool GetIsRadioButtonPanel(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
GetRadioButtonValue(DependencyObject)
Gets the RadioButtonValue.
Declaration
public static object GetRadioButtonValue(DependencyObject obj)
Parameters
obj
DependencyObject
The object.
Returns
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnDiagramAdditionalContentActivated(object, AdditionalContentActivatedEventArgs)
Called when diagram addition control is activated.
Declaration
protected override void OnDiagramAdditionalContentActivated(object sender, AdditionalContentActivatedEventArgs e)
Parameters
sender
e
Overrides
OnDiagramSelectionChanged(object, SelectionChangedEventArgs)
Called when diagram control selection is changed.
Declaration
protected override void OnDiagramSelectionChanged(object sender, SelectionChangedEventArgs e)
Parameters
sender
The sender.
e
SelectionChangedEventArgs
The SelectionChangedEventArgs instance containing the event data.
Overrides
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
OnIsActivePropertyChanged(bool, bool)
Called when is active property is changed.
OnValueChanged(string, object, EditItemType, object)
Called when [value changed].
Declaration
protected virtual bool OnValueChanged(string propertyName, object newValue, EditItemType editItemType, object editor)
Parameters
propertyName
Name of the property.
newValue
The new value.
editItemType
Type of the edit item.
editor
The editor.
Returns
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
obj
DependencyObject
The object.
value
The value.
SetContainerEditProperty(DependencyObject, ContainerEditProperty)
Sets the container property.
Declaration
public static void SetContainerEditProperty(DependencyObject obj, ContainerEditProperty value)
Parameters
obj
DependencyObject
The object.
value
The value.
SetEditorFallbackPropertyName(DependencyObject, string)
Sets the EditorFallbackPropertyName property.
Declaration
public static void SetEditorFallbackPropertyName(DependencyObject obj, string value)
Parameters
obj
DependencyObject
The object.
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
obj
DependencyObject
The object.
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
obj
DependencyObject
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
obj
DependencyObject
value
SetIsRadioButtonPanel(DependencyObject, bool)
Sets the IsToggleButtonPanel value.
Declaration
public static void SetIsRadioButtonPanel(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
The object.
value
If set to true [value].
SetRadioButtonValue(DependencyObject, object)
Sets the RadioButtonValue.
Declaration
public static void SetRadioButtonValue(DependencyObject obj, object value)
Parameters
obj
DependencyObject
The object.
value
The value.
Events
RegisterContainer
Occurs when container is registered.
Declaration
public event RadRoutedEventHandler RegisterContainer
Event Value
RegisterEditor
Occurs when value editor is registered.
Declaration
public event RadRoutedEventHandler RegisterEditor
Event Value