Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / ColorCanvas Class / SelectedColorChanged Event


In This Topic
    SelectedColorChanged Event
    In This Topic
    This event is raised when the SelectedColor is modified.
    Syntax
    'Declaration
     
    
    <NullableAttribute(Mono.Cecil.CustomAttributeArgument[])>
    Public Event SelectedColorChanged As EventHandler(Of ValueChangedEventArgs(Of Color))
    'Usage
     
    
    Dim instance As ColorCanvas
    Dim handler As EventHandler(Of ValueChangedEventArgs(Of Color))
     
    AddHandler instance.SelectedColorChanged, handler
    [Nullable(Mono.Cecil.CustomAttributeArgument[])]
    public event EventHandler<ValueChangedEventArgs<Color>> SelectedColorChanged
    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