BackstageViewButtonItem Members
This item acts as a button within a BackstageViewControl.Constructors
Name | Description |
---|---|
BackstageViewButtonItem() | Initializes a new instance of the BackstageViewButtonItem class. |
Properties
Name | Description |
---|---|
AccessibleDescription | Gets or sets the object’s description used by accessibility client applications. Inherited from BackstageViewItemBase. |
AccessibleName | Gets or sets the object’s name used by accessibility client applications. Inherited from BackstageViewItemBase. |
AccessibleRole | Gets or sets the object’s accessible role. Inherited from BackstageViewItemBase. |
Alignment | Gets or sets the vertical alignment of the item. Inherited from BackstageViewItemBase. |
AllowGlyphSkinning | Gets or sets whether the current BackstageViewItem‘s icon should be painted with the BackstageViewItem foreground color. Inherited from BackstageViewItem. |
AllowHtmlString | Gets or sets whether HTML formatting is allowed when setting the BackstageViewItem.Caption property. Inherited from BackstageViewItem. |
Appearance | Provides access to appearance settings applied to this BackstageViewItemBase descendant in the normal state. Inherited from BackstageViewItemBase. |
AppearanceDisabled | Provides access to appearance settings applied to this BackstageViewItemBase descendant in its disabled state. Inherited from BackstageViewItemBase. |
AppearanceHover | Provides access to appearance settings applied to this BackstageViewItemBase descendant in its hovered state. Inherited from BackstageViewItemBase. |
AppearancePressed | Provides access to appearance settings applied to the item’s caption when the item is pressed. |
CanRaiseEvents protected | Gets a value indicating whether the component can raise an event. Inherited from Component. |
Caption | Gets or sets the item’s display caption. Inherited from BackstageViewItem. |
CaptionHorizontalAlignment | Gets or sets the horizontal alignment of the item’s caption region. Inherited from BackstageViewItem. |
CaptionVerticalAlignment | Gets or sets the vertical alignment of the item’s caption region. Inherited from BackstageViewItem. |
CloseBackstageViewOnClick | Gets or sets whether the current BackstageViewControl is closed when the current item is clicked. |
Command |
Gets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
|
CommandParameter |
Gets or sets the parameter that is passed to the command specified by the Command property.
|
Container | Gets the IContainer that contains the Component. Inherited from Component. |
Control | Gets a BackstageViewControl that owns the current item. Inherited from BackstageViewItemBase. |
DesignMode protected | Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Enabled | Gets or sets whether the current item is enabled or disabled. Inherited from BackstageViewItem. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Glyph | Gets or sets an image for the current item. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
GlyphDisabled | Gets or sets an image for the current item that will be displayed when the current item is disabled. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
GlyphHorizontalAlignment | Gets or sets the horizontal alignment of the item’s glyph region. Inherited from BackstageViewItem. |
GlyphHover | Gets or sets an image for the current item that will be displayed when the current item is hovered over. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
GlyphLocation | Gets or sets the location of the item’s glyph region relative to its caption region. Inherited from BackstageViewItem. |
GlyphPressed | Gets or sets an image for the current item that will be displayed when the current item is pressed with a mouse button. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
GlyphVerticalAlignment | Gets or sets the vertical alignment of the item’s glyph region. Inherited from BackstageViewItem. |
ImageIndex | Gets or sets the index of an image within the BackstageViewControl.Images collection. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
ImageIndexDisabled | Gets or sets the index of an image within the BackstageViewControl.Images collection. This image will be displayed when the current item is disabled. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
ImageIndexHover | Gets or sets the index of an image within the BackstageViewControl.Images collection. This image will be displayed when the current item is hovered over. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
ImageIndexPressed | Gets or sets the index of an image within the BackstageViewControl.Images collection. This image will be displayed when the current item is pressed using a mouse button. This property is obsolete. Use the ImageOptions property instead. Inherited from BackstageViewItem. |
ImageOptions | Provides access to properties that allow you to set up raster and vector images for this BackstageViewItem. Inherited from BackstageViewItem. |
Images | Gets the image collection assigned to the owner’s BackstageViewControl.Images property. Inherited from BackstageViewItem. |
KeyTip | Gets or sets the Key Tip for this BackstageViewItem. Inherited from BackstageViewItem. |
Name | Gets or sets the item’s name. Inherited from BackstageViewItemBase. |
Site | Gets or sets the ISite of the Component. Inherited from Component. |
SuperTip | Allows you to assign a Super Tip to the item. Inherited from BackstageViewItem. |
Tag | Gets or sets an object that contains custom data for the current BackstageViewItem object. Inherited from BackstageViewItem. |
Visible | Gets or sets the item’s visibility. Inherited from BackstageViewItemBase. |
Methods
Name | Description |
---|---|
Assign(BackstageViewItemBase) | Copies settings from the specified object to the current object. |
BindCommand(Expression<Action>, Object, Func<Object>) | Uses the command selector to find an appropriate parameterized command in the source and bind it to this BackstageViewButtonItem. |
BindCommand(Object, Func<Object>) | Binds the specific parameterized command to this BackstageViewButtonItem. |
BindCommand<T>(Expression<Action<T>>, Object, Func<T>) | Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this BackstageViewButtonItem. |
Clone() | Creates and returns a copy of the current item. Inherited from BackstageViewItemBase. |
CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject. |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject. |
GetService(Type) protected | Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
MemberwiseClone(Boolean) protected | Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ResetSuperTip() | Removes the SuperToolTip object that has been assigned to the current item. Inherited from BackstageViewItem. |
ToString() | Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component. |
Events
Name | Description |
---|---|
CommandCanExecuteChanged | Occurs when the CanExecute(Object) status of the Command has changed. |
CommandChanged | Occurs after the value of the Command property has changed. |
CommandParameterChanged | Occurs after the value of the CommandParameter property has changed. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
ItemClick | Fires when the current item is clicked. |
ItemHover | Fires when the item is hovered over with the mouse. Inherited from BackstageViewItem. |
ItemPressed | Fires when the current item is pressed with the mouse (when the mouse button is pressed against the item and not yet released). Inherited from BackstageViewItem. |
See Also