Class
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:

cs-api-definition
public class CustomEditorBase : Control

Inheritance: objectCustomEditorBase

Derived Classes: DropDownEditorModalEditor

Constructors

CustomEditorBase()

Initializes a new instance of the CustomEditorBase class.

Declaration

cs-api-definition
public CustomEditorBase()

Fields

EditorProperty

Identifies the EditorProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EditorProperty

Field Value

DependencyProperty

SourcePropertyProperty

Identifies the SourceProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SourcePropertyProperty

Field Value

DependencyProperty

Properties

Editor

Gets or sets the control displayed for editing the property.

Declaration

cs-api-definition
public FrameworkElement Editor { get; set; }

Property Value

FrameworkElement

SourceProperty

Gets or sets the property from the business object used for the binding.

Declaration

cs-api-definition
public object SourceProperty { get; set; }

Property Value

object

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

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()