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

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:

C#
public class PreviewEditorKeyEventArgs : EventArgs

Inheritance: objectEventArgsPreviewEditorKeyEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public PreviewEditorKeyEventArgs(KeyEventArgs originalArgs)
Parameters:originalArgsKeyEventArgs

Properties

Key

Key

Represents the key associated with the Preview Editor key event.

C#
public Key Key { get; }
Property Value:

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

OriginalArgs

KeyEventArgs

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

C#
public KeyEventArgs OriginalArgs { get; }

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

C#
public bool SuppressDefaultAction { get; set; }
Property Value:

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