Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / DatePickerView Class / ValueChanged Event


In This Topic
    ValueChanged Event (DatePickerView)
    In This Topic
    This event is raised when the Calendar's SelectedDates property is modified.
    Syntax
    'Declaration
     
    
    Public Event ValueChanged As EventHandler(Of ValueChangedEventArgs(Of Collection(Of DateOnly)))
    'Usage
     
    
    Dim instance As DatePickerView
    Dim handler As EventHandler(Of ValueChangedEventArgs(Of Collection(Of DateOnly)))
     
    AddHandler instance.ValueChanged, handler
    Event Data

    The event handler receives an argument of type ValueChangedEventArgs<T> containing data related to this event. The following ValueChangedEventArgs<T> properties provide information specific to this event.

    PropertyDescription
    Gets the new value, which is the most recent setting.  
    Gets the old value, which is the one that has just been replaced by the NewValue.  
    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