In This Article

BarCommandLinkEventArgs Class

Provides data for the BarCommandLink or BarCommand events.

public class BarCommandLinkEventArgs : EventArgs
Inheritance:
object EventArgs object

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.

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.

public BarManager? BarManager { get; }

Property Value

BarManager

Command

The BarCommand affected by this event.

public BarCommand? Command { get; }

Property Value

BarCommand

The BarCommandLink affected by this event.

public BarCommandLink? CommandLink { get; }

Property Value

BarCommandLink

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:

true if the event has been handled; otherwise, false.

Inherited Members

Extension Methods