Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / RepeatButton Class
Members Example


In This Topic
    RepeatButton Class
    In This Topic
    Button which raises the Clicked event more than once if the finger is pressed or the mouse button held down on said Button for a specific period of time.
    Syntax
    'Usage
     
    
    Dim instance As RepeatButton
    Remarks
    The period of time that determines when the two possible Clicked event happen is set via the DelayInterval properties.
    Example

    The following code would display this control:

    <xctk:RepeatButton Content="My Repeat Button"
                       Delay="300"
                       Interval="500"
                       HorizontalOptions="Center"
                       Clicked="RepeatButton_Clicked"/>
    Inheritance Hierarchy

    System.Object
       Microsoft.Maui.Controls.BindableObject
          Microsoft.Maui.Controls.Element
             Microsoft.Maui.Controls.NavigableElement
                Microsoft.Maui.Controls.VisualElement
                   Microsoft.Maui.Controls.View
                      Microsoft.Maui.Controls.Compatibility.Layout
                         Microsoft.Maui.Controls.TemplatedView
                            Xceed.Maui.Toolkit.Control
                               Xceed.Maui.Toolkit.ContentControl
                                  Xceed.Maui.Toolkit.Button
                                     Xceed.Maui.Toolkit.RepeatButton

    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