Class
PreviewEditorKeyEventArgs

Provides data for the Preview Editor key event, encapsulating information about the key event state.

Definition

Namespace:Telerik.Windows.Documents

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class PreviewEditorKeyEventArgs : EventArgs

Inheritance: objectEventArgsPreviewEditorKeyEventArgs

Inherited Members EventArgs.Empty

Constructors

PreviewEditorKeyEventArgs(KeyEventArgs)

Declaration

cs-api-definition
public PreviewEditorKeyEventArgs(KeyEventArgs originalArgs)

Parameters

originalArgs

KeyEventArgs

Properties

Key

Represents the key associated with the Preview Editor key event.

Declaration

cs-api-definition
public Key Key { get; }

Property Value

Key

The key that triggered the event. This value corresponds to the specific key pressed by the user.

OriginalArgs

Gets the original key event arguments associated with the current preview editor event.

Declaration

cs-api-definition
public KeyEventArgs OriginalArgs { get; }

Property Value

KeyEventArgs

SuppressDefaultAction

Gets or sets a value indicating whether the default action for the key event should be suppressed.

Declaration

cs-api-definition
public bool SuppressDefaultAction { get; set; }

Property Value

bool

A boolean value where true to suppress the default action, or false to allow it.