Class CustomEditorBase
Represents the base class for the hosts of a custom editor.
Inheritance
Namespace: Telerik.Windows.Controls.Data.PropertyGrid
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class CustomEditorBase : Control, IThemable
Constructors
CustomEditorBase()
Fields
EditorProperty
Identifies the EditorProperty dependency property.
Declaration
public static readonly DependencyProperty EditorProperty
Field Value
System.Windows.DependencyProperty
|
SourcePropertyProperty
Identifies the SourceProperty dependency property.
Declaration
public static readonly DependencyProperty SourcePropertyProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Editor
Gets or sets the control displayed for editing the property.
Declaration
public FrameworkElement Editor { get; set; }
Property Value
System.Windows.FrameworkElement
|
SourceProperty
Gets or sets the property from the business object used for the binding.
Declaration
public object SourceProperty { get; set; }
Property Value
System.Object
|
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. 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()
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()