Udostępnij za pośrednictwem


RibbonSplitButton.ButtonType Property (2007 System)

Gets or sets the type of the button on the RibbonSplitButton.

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

Syntax

'Declaration
Public Property ButtonType As RibbonButtonType
'Usage
Dim instance As RibbonSplitButton 
Dim value As RibbonButtonType 

value = instance.ButtonType

instance.ButtonType = value
public RibbonButtonType ButtonType { get; set; }
public:
property RibbonButtonType ButtonType {
    RibbonButtonType get ();
    void set (RibbonButtonType value);
}
public function get ButtonType () : RibbonButtonType 
public function set ButtonType (value : RibbonButtonType)

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonButtonType
A RibbonButtonType that represents the type of the button on the RibbonSplitButton.

Remarks

The two options are Button and ToggleButton.

The property cannot 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