New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class CustomEditorBase : Control

Inheritance: objectCustomEditorBase

Derived Classes: DropDownEditorModalEditor

Constructors

Initializes a new instance of the CustomEditorBase class.

C#
public CustomEditorBase()

Fields

EditorProperty

DependencyProperty

Identifies the EditorProperty dependency property.

C#
public static readonly DependencyProperty EditorProperty

SourcePropertyProperty

DependencyProperty

Identifies the SourceProperty dependency property.

C#
public static readonly DependencyProperty SourcePropertyProperty

Properties

Editor

FrameworkElement

Gets or sets the control displayed for editing the property.

C#
public FrameworkElement Editor { get; set; }

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

C#
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.

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()