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


In This Topic
    IsPressed Property (Button)
    In This Topic
    Gets if the finger is pressed or the mouse button is clicked while over the bounds of the Button.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property IsPressed As Boolean
    'Usage
     
    
    Dim instance As Button
    Dim value As Boolean
     
    instance.IsPressed = value
     
    value = instance.IsPressed
    public bool IsPressed {get;}
    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