Export (0) Print
Expand All

RibbonToggleButton Class

Applies to v2.

Represents a ribbon toggle button.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

public class RibbonToggleButton : RibbonButton, 
	INotifyPropertyChanged

The RibbonToggleButton type exposes the following members.

  NameDescription
Public methodRibbonToggleButton(String, ICommandId, Object, Bitmap, Bitmap)Initializes a new instance of the RibbonToggleButton class.
Public methodRibbonToggleButton(String, ICommandId, Object, ImageSource, ImageSource)Initializes a new instance of the RibbonToggleButton class.
Public methodRibbonToggleButton(String, ICommand, Object, Bitmap, Bitmap)Initializes a new instance of the RibbonToggleButton class.
Public methodRibbonToggleButton(String, ICommand, Object, ImageSource, ImageSource)Initializes a new instance of the RibbonToggleButton class.
Top

  NameDescription
Public propertyCommandGets or sets the command to invoke when the button is pressed. (Inherited from RibbonButton.)
Public propertyCommandIdGets or sets the command ID to invoke when the button is pressed. (Inherited from RibbonButton.)
Public propertyCommandParameterGets or sets the command parameter to pass to the command or CommandId. (Inherited from RibbonButton.)
Public propertyIsCheckedGets or sets a value indicating whether the button is checked (toggled) or not.
Public propertyLabelGets a label for the item. (Inherited from RibbonItem.)
Public propertyLargeImageGets or sets a 32x32 image for the button. (Inherited from RibbonButton.)
Public propertySmallImageGets or sets a 16x16 image for the button. (Inherited from RibbonButton.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventPropertyChangedOccurs when a property change value.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft