BarLabelCommand Class
Represents a bar label command.
public class BarLabelCommand : BarCommand, IImageListProvider
- Inheritance:
- object Command BarCommand object
- Implements:
- IImageListProvider
Constructors
BarLabelCommand(string, string, string, int)
Initializes a new instance of the BarLabelCommand
class.
public BarLabelCommand(string category, string name, string text, int imageIndex)
Parameter | Type | Description |
---|---|---|
category | string | The category of the bar command. |
name | string | The name of the bar command. |
text | string | The text caption. |
imageIndex | int | The index of an image within an |
Methods
CreateCommandLink()
Creates a new BarCommandLink for the command.
public override BarCommandLink CreateCommandLink()
Returns
- BarCommandLink:
The BarCommandLink that was created.
ResetEnabled()
Resets the Enabled property to its default value.
public override void ResetEnabled()
ShouldSerializeEnabled()
Indicates whether the Enabled property should be persisted.
public override bool ShouldSerializeEnabled()
Returns
- bool:
true
if the property value has changed from its default; otherwise,false
.
Inherited Members
- BarCommand.CloneToType(Type)
- BarCommand.ResetCanCustomizeCreate()
- BarCommand.ShouldSerializeCanCustomizeCreate()
- BarCommand.ResetCanCustomizeKeyboardShortcuts()
- BarCommand.ShouldSerializeCanCustomizeKeyboardShortcuts()
- BarCommand.ResetCategory()
- BarCommand.ShouldSerializeCategory()
- BarCommand.ResetCustomizeListText()
- BarCommand.ShouldSerializeCustomizeListText()
- BarCommand.ResetImage()
- BarCommand.ShouldSerializeImage()
- BarCommand.ResetImageIndex()
- BarCommand.ShouldSerializeImageIndex()
- BarCommand.OnEnabledChanged(EventArgs)
- BarCommand.OnProcessingRequested(BarProcessEventArgs)
- BarCommand.Process(BarProcessEventArgs)
- BarCommand.ReadAttributesFromXml(BarLayoutXmlSerializer)
- BarCommand.ReadElementFromXml(BarLayoutXmlSerializer)
- BarCommand.ResetStaysOpenOnClick()
- BarCommand.ShouldSerializeStaysOpenOnClick()
- BarCommand.ResetText()
- BarCommand.ShouldSerializeText()
- BarCommand.ResetToolTipEnabled()
- BarCommand.ShouldSerializeToolTipEnabled()
- BarCommand.ResetToolTipText()
- BarCommand.ShouldSerializeToolTipText()
- BarCommand.UpdateState(BarCommandLinkEventArgs)
- BarCommand.WriteAttributesToXml(BarLayoutXmlSerializer)
- BarCommand.WriteElementsToXml(BarLayoutXmlSerializer)
- BarCommand.BarManager
- BarCommand.CanCustomizeCreate
- BarCommand.CanCustomizeKeyboardShortcuts
- BarCommand.Category
- BarCommand.CustomizeListText
- BarCommand.Enabled
- BarCommand.FullName
- BarCommand.Image
- BarCommand.ImageIndex
- BarCommand.KeyboardShortcuts
- BarCommand.StaysOpenOnClick
- BarCommand.SupportsVerticalDisplay
- BarCommand.Tag
- BarCommand.Text
- BarCommand.ToolTipEnabled
- BarCommand.ToolTipText
- BarCommand.EnabledChanged
- BarCommand.ProcessingRequested
- Command.Name
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()