SettingsPaneView
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
Initializes a new instance of the SettingsPaneView class.
public SettingsPaneView()
Fields
ContainerEditItemTypeProperty
DependencyProperty
Identifies the ContainerEditType attached property.
public static readonly DependencyProperty ContainerEditItemTypeProperty
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
DependencyProperty
Identifies the ContainerEditProperty attached property.
public static readonly DependencyProperty ContainerEditPropertyProperty
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.
public static readonly DependencyProperty CurrentEditTypeProperty
EditorFallbackPropertyNameProperty
DependencyProperty
Identifies the EditorFallbackPropertyName dependency property.
public static readonly DependencyProperty EditorFallbackPropertyNameProperty
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.
public static readonly DependencyProperty EditorPropertyNameProperty
EditorTypeItemProperty
DependencyProperty
Identifies the EditorItemType dependency property.
public static readonly DependencyProperty EditorTypeItemProperty
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.
public static readonly DependencyProperty EditorValueProperty
IsRadioButtonPanelProperty
DependencyProperty
Identifies the IsRadioButtonPanel attached property.
public static readonly DependencyProperty IsRadioButtonPanelProperty
RadioButtonValueProperty
DependencyProperty
Identifies the RadioButtonValue attached property.
public static readonly DependencyProperty RadioButtonValueProperty
RegisterContainerEvent
RoutedEvent
This event fires when a control that edits a property of a shape/connection is loaded.
public static readonly RoutedEvent RegisterContainerEvent
RegisterEditorEvent
RoutedEvent
This event fires when a control that edits a property of a shape/connection is loaded.
public static readonly RoutedEvent RegisterEditorEvent
Properties
Gets or sets the context items.
public IEnumerable<IDiagramItem> ContextItems { get; set; }
Gets or sets the type of the current edit type.
public EditItemType CurrentEditType { get; set; }
Methods
Gets the type of the container edit.
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetContainerEditItemType(DependencyObject obj)
The object.
Returns:Gets the container property.
public static ContainerEditProperty GetContainerEditProperty(DependencyObject obj)
The object.
Returns:Gets the EditorFallbackPropertyName property.
public static string GetEditorFallbackPropertyName(DependencyObject obj)
The object.
Returns:Gets the EditorItemType property. Identifies what type of items can the editor control affect - shapes/connections/custom or both of them.
[TypeConverter(typeof(EditItemTypeTypeConverter))]
public static EditItemType GetEditorItemType(DependencyObject obj)
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.
public static string GetEditorPropertyName(DependencyObject obj)
Gets the EditorValue property. It indicates which property of the editor will be used for editing the shape/connection/container shape.
public static object GetEditorValue(DependencyObject obj)
The object.
Returns:Gets the IsToggleButtonPanel value.
public static bool GetIsRadioButtonPanel(DependencyObject obj)
The object.
Returns:Gets the RadioButtonValue.
public static object GetRadioButtonValue(DependencyObject obj)
The object.
Returns:public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
Called when diagram addition control is activated.
protected override void OnDiagramAdditionalContentActivated(object sender, AdditionalContentActivatedEventArgs e)
Overrides:
Called when diagram control selection is changed.
protected override void OnDiagramSelectionChanged(object sender, SelectionChangedEventArgs e)
The sender.
eSelectionChangedEventArgsThe SelectionChangedEventArgs instance containing the event data.
Overrides:
Called when [value changed].
protected virtual bool OnValueChanged(string propertyName, object newValue, EditItemType editItemType, object editor)
Name of the property.
newValueobjectThe new value.
editItemTypeEditItemTypeType of the edit item.
editorobjectThe editor.
Returns:When overridden, resolves the CurrentItemType property value.
protected virtual void ResolveCurrentItemType()
Sets the type of the container edit.
public static void SetContainerEditItemType(DependencyObject obj, EditItemType value)
The object.
valueEditItemTypeThe value.
Sets the container property.
public static void SetContainerEditProperty(DependencyObject obj, ContainerEditProperty value)
The object.
valueContainerEditPropertyThe value.
Sets the EditorFallbackPropertyName property.
public static void SetEditorFallbackPropertyName(DependencyObject obj, string value)
The object.
valuestringThe value.
Sets the EditorItemType property. Identifies what type of items can the editor control affect - shapes/connections/custom or both of them.
public static void SetEditorItemType(DependencyObject obj, EditItemType value)
The object.
valueEditItemTypeThe 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.
public static void SetEditorPropertyName(DependencyObject obj, string value)
Sets the EditorValue property. It indicates which property of the editor will be used for editing the shape/connection/container shape.
public static void SetEditorValue(DependencyObject obj, object value)
Sets the IsToggleButtonPanel value.
public static void SetIsRadioButtonPanel(DependencyObject obj, bool value)
The object.
valueboolIf set to true [value].
Sets the RadioButtonValue.
public static void SetRadioButtonValue(DependencyObject obj, object value)
The object.
valueobjectThe value.
Events
Occurs when container is registered.
public event RadRoutedEventHandler RegisterContainer
Occurs when value editor is registered.
public event RadRoutedEventHandler RegisterEditor