Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Represents a ribbon toggle button.
Inheritance Hierarchy
System.Object
Microsoft.WebMatrix.Extensibility.RibbonItem
Microsoft.WebMatrix.Extensibility.RibbonButton
Microsoft.WebMatrix.Extensibility.RibbonToggleButton
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Class RibbonToggleButton _
Inherits RibbonButton _
Implements INotifyPropertyChanged
'Usage
Dim instance As RibbonToggleButton
public class RibbonToggleButton : RibbonButton,
INotifyPropertyChanged
public ref class RibbonToggleButton : public RibbonButton,
INotifyPropertyChanged
type RibbonToggleButton =
class
inherit RibbonButton
interface INotifyPropertyChanged
end
public class RibbonToggleButton extends RibbonButton implements INotifyPropertyChanged
The RibbonToggleButton type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
RibbonToggleButton(String, ICommandId, Object, Bitmap, Bitmap) | Initializes a new instance of the RibbonToggleButton class. |
![]() |
RibbonToggleButton(String, ICommandId, Object, ImageSource, ImageSource) | Initializes a new instance of the RibbonToggleButton class. |
![]() |
RibbonToggleButton(String, ICommand, Object, Bitmap, Bitmap) | Initializes a new instance of the RibbonToggleButton class. |
![]() |
RibbonToggleButton(String, ICommand, Object, ImageSource, ImageSource) | Initializes a new instance of the RibbonToggleButton class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Command | Gets or sets the command to invoke when the button is pressed. (Inherited from RibbonButton.) |
![]() |
CommandId | Gets or sets the command ID to invoke when the button is pressed. (Inherited from RibbonButton.) |
![]() |
CommandParameter | Gets or sets the command parameter to pass to the command or CommandId. (Inherited from RibbonButton.) |
![]() |
IsChecked | Gets or sets a value indicating whether the button is checked (toggled) or not. |
![]() |
Label | Gets a label for the item. (Inherited from RibbonItem.) |
![]() |
LargeImage | Gets or sets a 32x32 image for the button. (Inherited from RibbonButton.) |
![]() |
SmallImage | Gets or sets a 16x16 image for the button. (Inherited from RibbonButton.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
PropertyChanged | Occurs when a property change value. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)