BarCommandLinkEventArgs Class
Provides data for the BarCommandLink or BarCommand events.
public class BarCommandLinkEventArgs : EventArgs
Constructors
BarCommandLinkEventArgs(BarManager?, BarCommand?)
Initializes an instance of the 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 an instance of the 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
The BarManager that is managing the command.
Command
The BarCommand affected by this event.
CommandLink
The BarCommandLink affected by this event.
public BarCommandLink? CommandLink { get; }
Property Value
Remarks
This value may be null if the event was raised programmatically.
Handled
Indicates whether the event has been handled.
public bool Handled { get; set; }
Property Value
- bool:
trueif the event has been handled; otherwise,false.
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()