TXTextControl.TextControl.CanRedo Property

Informs whether an operation can be re-done using the Redo method.

Syntax

[C#]
public bool CanRedo { get; }
[Visual Basic]
Public ReadOnly Property CanRedo() As Boolean

Limitations

Runtime only.

Read only.

Example

The following XAML example shows how to bind the CanRedo property to the IsEnabled attribute of a menu item.

<MenuItem
   Header="Redo"
   Command="ApplicationCommands.Redo"
   IsEnabled="{Binding ElementName=textControl1, Path=CanRedo}" />

See Also