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

Specifies targets on which commands could be applied.

Definition

Namespace:Telerik.WinForms.Documents.RichTextBoxCommands

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
[Flags]
public enum CommandTargets

Fields

The command can be applied on all document parts.

C#
All = HeaderFooter | Comment

The command can be applied on comments.

C#
Comment = 2

The command can be applied on main document body.

C#
DocumentBody = 0

The command can be applied on headers and footers.

C#
HeaderFooter = 1

The command can be applied on footnotes and endnotes.

C#
Note = HeaderFooter | Comment

The command can be applied on shape text box element.

C#
ShapeText = 4