Articles in this section
Category / Section

How to disable editing in WPF UpDown control?

1 min read

You can disable the editable value by setting AllowEdit property to false in WPF UpDown control.

XAML

//Code Explains How to Disable the Editing value in UpDown 
<Grid>
    <syncfusion:UpDown Name="UpDown" Width="150" Height="60" AllowEdit="False"></syncfusion:UpDown>
</Grid>

  C#

//Code Explains How to Disable the  Editing value in UpDown 
namespace UpDown_AllowEdit
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            UpDown.AllowEdit = true;
        }
   }
}

 

         Disable editing in WPF UpDown control

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