BarCommandLinkEventArgs Class
Provides data for the BarCommandLink or BarCommand events.
public class BarCommandLinkEventArgs : EventArgs
Constructors
BarCommandLinkEventArgs(BarManager, BarCommand)
Initializes a new instance of the BarCommandLinkEventArgs
class.
public BarCommandLinkEventArgs(BarManager barManager, BarCommand command)
Parameter | Type | Description |
---|---|---|
barManager | BarManager | The BarManager that is managing the command. |
command | BarCommand | The BarCommand affected by this event. |
BarCommandLinkEventArgs(BarManager, BarCommandLink)
Initializes a new instance of the BarCommandLinkEventArgs
class.
public BarCommandLinkEventArgs(BarManager barManager, BarCommandLink commandLink)
Parameter | Type | Description |
---|---|---|
barManager | BarManager | The BarManager that is managing the command. |
commandLink | BarCommandLink | The BarCommandLink affected by this event. |
Properties
BarManager
Gets the BarManager that is managing the command.
public BarManager BarManager { get; }
Property Value
- BarManager:
The BarManager that is managing the command.
Command
Gets the BarCommand affected by this event.
public BarCommand Command { get; }
Property Value
- BarCommand:
The BarCommand affected by this event.
CommandLink
Gets the BarCommandLink affected by this event.
public BarCommandLink CommandLink { get; }
Property Value
- BarCommandLink:
The BarCommandLink affected by this event.
Remarks
This value may be null
if the event was raised programmatically.
Handled
Gets or sets whether the event has been handled.
public bool Handled { get; set; }
Property Value
- bool:
true
if the event has been handled; otherwise,false
.