Udostępnij za pośrednictwem


RibbonCheckBox.Description Property (2007 System)

Gets or sets a description for this RibbonCheckBox that appears when its parent control's ItemSize property is set to RibbonControlSizeLarge.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Property Description As String
'Usage
Dim instance As RibbonCheckBox 
Dim value As String 

value = instance.Description

instance.Description = value
public string Description { get; set; }
public:
property String^ Description {
    String^ get ();
    void set (String^ value);
}
public function get Description () : String 
public function set Description (value : String)

Property Value

Type: System.String
The description for this RibbonCheckBox.

Remarks

When this RibbonCheckBox is placed on a RibbonMenu or RibbonSplitButton that has its ItemSize property set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge, the value of the Description property is displayed beneath the label. Otherwise, setting the Description property has no effect.

.NET Framework Security

See Also

Reference

RibbonCheckBox Class

RibbonCheckBox Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview