Articles in this section
Category / Section

How to set the undo limit value in integertextbox

1 min read

Editor allows to undo the value by pressing combination of ctrl+ z keys. Undo level can be defined by UndoLimit Property.

The same has been explained in the following code snippet:

XAML:

// Code explains how to set the undolimit value in integertextbox
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf" x:Class="UndoLimit.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid>
<syncfusion:IntegerTextBox Name="integer"  MinWidth="100"  Width="100" UndoLimit="3" Value="5000"/>
</Grid>
</Window>

C#:

// Code explains how to set the undolimit value in integertextbox
namespace UndoLimit
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
integer.UndoLimit = 3;
}
}
}

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied