Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Primitives Namespace / UpDownBase<T> Class / UpdateValueOnEnterKey Property


In This Topic
    UpdateValueOnEnterKey Property (UpDownBase<T>)
    In This Topic
    Gets or sets a value indicating whether the synchronization between "Value" and "Text" should be done only on the Enter key press (and lost focus).
    Syntax
    'Declaration
     
    Public Property UpdateValueOnEnterKey As Boolean
    'Usage
     
    Dim instance As UpDownBase(Of T)
    Dim value As Boolean
     
    instance.UpdateValueOnEnterKey = value
     
    value = instance.UpdateValueOnEnterKey
    public bool UpdateValueOnEnterKey {get; set;}

    Property Value

    true if the synchronization between "Value" and "Text" should be done only on the Enter key press (and lost focus), otherwise false. By default, false.

     

    Remarks

    This property is only checked when the text is being typed in the TextBox. It affects the NumericUpDown, DateTimeUpDown, DateTimePicker, TimePicker, and TimeSpanUpDown controls.

    In the case of DateTimeUpDown, DateTimePicker and TimePicker, this property is true by default and cannot be modified.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also