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

Represents a host of a custom editor. It represents a button that opens a Window with that editor as a content.

Definition

Constructors

Initializes a new instance of the ModalEditor class.

C#
public ModalEditor()

Fields

Gets a value that represents the command executed for displaying the Window with the custom editor as a content.

C#
public static readonly ICommand ShowEditorCommand

WindowLeftProperty

DependencyProperty

Identifies the WindowLeft dependency property.

C#
public static readonly DependencyProperty WindowLeftProperty

Identifies the WindowStartupLocation dependency property.

C#
public static readonly DependencyProperty WindowStartupLocationProperty

WindowTopProperty

DependencyProperty

Identifies the WindowTop dependency property.

C#
public static readonly DependencyProperty WindowTopProperty

Properties

Gets or sets the position of the window's left edge, in relation to the desktop.

C#
public double WindowLeft { get; set; }

WindowStartupLocation

WindowStartupLocation

Gets or sets the position of the window when first shown.

C#
public WindowStartupLocation WindowStartupLocation { get; set; }

Gets or sets the position of the window's top edge, in relation to the desktop.

C#
public double WindowTop { get; set; }

Methods

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.

Overrides: CustomEditorBase.OnInitialized(EventArgs)