Udostępnij za pośrednictwem


RibbonSplitButton.Checked Property (2007 System)

Gets or sets a value that indicates whether RibbonSplitButton is pressed or not pressed.

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

Syntax

'Declaration
Public Property Checked As Boolean
'Usage
Dim instance As RibbonSplitButton 
Dim value As Boolean 

value = instance.Checked

instance.Checked = value
public bool Checked { get; set; }
public:
property bool Checked {
    bool get ();
    void set (bool value);
}
public function get Checked () : boolean 
public function set Checked (value : boolean)

Property Value

Type: System.Boolean
true if the RibbonSplitButton is pressed; otherwise, false. The default is false.

Remarks

This property applies only if ButtonType is set to ToggleButton.

This property can be changed at run time.

.NET Framework Security

See Also

Reference

RibbonSplitButton Class

RibbonSplitButton Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview