OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / RibbonButton Class / Caption Property



In This Topic
    Caption Property (RibbonButton)
    In This Topic
    The visible display text that appears below this ribbon button.
    Syntax
    'Declaration
     
    
    Public Property Caption As String
    'Usage
     
    
    Dim instance As RibbonButton
    Dim value As String
     
    instance.Caption = value
     
    value = instance.Caption
    public string Caption {get; set;}
    public:
    property String^ Caption {
       String^ get();
       void set (    String^ value);
    }
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also