Class
MultipleUndoPoint

Represents a multiple undo point in the document model, allowing for the grouping of multiple undo operations into a single action that can be reverted or redone collectively.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class MultipleUndoPoint

Inheritance: objectMultipleUndoPoint

Constructors

MultipleUndoPoint()

Initializes a new instance of the MultipleUndoPoint class.

Declaration

cs-api-definition
public MultipleUndoPoint()

MultipleUndoPoint(string, int)

Initializes a new instance of the MultipleUndoPoint class with the specified display text and undo stack index.

Declaration

cs-api-definition
public MultipleUndoPoint(string displayText, int undoStackIndex)

Parameters

displayText

string

The display text associated with the multiple undo point.

undoStackIndex

int

The zero-based index indicating the position of the undo point within the undo stack.

Properties

DisplayText

Gets the display text of the multiple undo point.

Declaration

cs-api-definition
public string DisplayText { get; set; }

Property Value

string

UndoStackIndex

Gets or sets the index of the undo stack for the multiple undo point.

Declaration

cs-api-definition
public int UndoStackIndex { get; set; }

Property Value

int

The zero-based index that indicates the position of the undo point within the undo stack.