ClassCustomEditorBase
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
CustomEditorBase()
Initializes a new instance of the CustomEditorBase class.
Declaration
public CustomEditorBase()
Fields
EditorProperty
Identifies the EditorProperty dependency property.
Declaration
public static readonly DependencyProperty EditorProperty
Field Value
DependencyProperty
SourcePropertyProperty
Identifies the SourceProperty dependency property.
Declaration
public static readonly DependencyProperty SourcePropertyProperty
Field Value
DependencyProperty
Properties
Editor
Gets or sets the control displayed for editing the property.
Declaration
public FrameworkElement Editor { get; set; }
Property Value
FrameworkElement
SourceProperty
Gets or sets the property from the business object used for the binding.
Methods
OnApplyTemplate()
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.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.