Udostępnij za pośrednictwem


RibbonSplitButton.Click Event (2007 System)

Occurs when the user clicks the RibbonSplitButton control.

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

Syntax

'Declaration
Public Event Click As EventHandler(Of RibbonControlEventArgs)
'Usage
Dim instance As RibbonSplitButton 
Dim handler As EventHandler(Of RibbonControlEventArgs)

AddHandler instance.Click, handler
public event EventHandler<RibbonControlEventArgs> Click
public:
 event EventHandler<RibbonControlEventArgs^>^ Click {
    void add (EventHandler<RibbonControlEventArgs^>^ value);
    void remove (EventHandler<RibbonControlEventArgs^>^ value);
}
JScript does not support events.

Remarks

When the RibbonSplitButton has the ButtonType property set to ToggleButton, the Checked property is updated before this event is raised.

.NET Framework Security

See Also

Reference

RibbonSplitButton Class

RibbonSplitButton Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview