Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Calculator Class / ButtonCommand Property


In This Topic
    ButtonCommand Property
    In This Topic
    Gets the Command detecting which Button was pressed & then executes said Button's CommandParameter.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ButtonCommand As ICommand
    'Usage
     
    
    Dim instance As Calculator
    Dim value As ICommand
     
    instance.ButtonCommand = value
     
    value = instance.ButtonCommand
    public ICommand ButtonCommand {get;}
    Remarks
    More information on the subject of Command & CommandParameter can be found here: https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/data-binding/commanding
    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