Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets a value that indicates whether the label for the button is visible.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property ShowLabel As Boolean
'Usage
Dim instance As RibbonButton
Dim value As Boolean
value = instance.ShowLabel
instance.ShowLabel = value
public bool ShowLabel { get; set; }
public:
property bool ShowLabel {
bool get ();
void set (bool value);
}
public function get ShowLabel () : boolean
public function set ShowLabel (value : boolean)
Property Value
Type: System.Boolean
true if the label for the button is visible; otherwise, false. The default is true.
Remarks
If the ControlSize property is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge, the button behaves as if ShowLabel is always true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace