CustomEditorBase
Represents the base class for the hosts of a custom editor.
Definition
Namespace:Telerik.Windows.Controls.Data.PropertyGrid
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
public class CustomEditorBase : Control
Inheritance: objectCustomEditorBase
Derived Classes:
Constructors
Initializes a new instance of the CustomEditorBase class.
public CustomEditorBase()
Fields
EditorProperty
DependencyProperty
Identifies the EditorProperty dependency property.
public static readonly DependencyProperty EditorProperty
SourcePropertyProperty
DependencyProperty
Identifies the SourceProperty dependency property.
public static readonly DependencyProperty SourcePropertyProperty
Properties
Editor
FrameworkElement
Gets or sets the control displayed for editing the property.
public FrameworkElement Editor { get; set; }
Gets or sets the property from the business object used for the binding.
public object SourceProperty { get; set; }
Methods
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Resets the theme.
public void ResetTheme()