Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Button Class / Command Property


In This Topic
    Command Property
    In This Topic
    Gets or sets the command that will be executed when the user clicks on the Button.
    Syntax
    'Declaration
     
    
    Public Property Command As ICommand
    'Usage
     
    
    Dim instance As Button
    Dim value As ICommand
     
    instance.Command = value
     
    value = instance.Command
    public ICommand Command {get; set;}
    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