32 lines
454 B
C#
32 lines
454 B
C#
![]() |
using System;
|
|||
|
|
|||
|
namespace CPF.ReoGrid.Common
|
|||
|
{
|
|||
|
public class ActionEventArgs : EventArgs
|
|||
|
{
|
|||
|
public IAction Action
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
return this.action;
|
|||
|
}
|
|||
|
set
|
|||
|
{
|
|||
|
this.action = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public ActionBehavior Behavior { get; set; }
|
|||
|
|
|||
|
public bool Cancel { get; set; }
|
|||
|
|
|||
|
public ActionEventArgs(IAction action, ActionBehavior behavior)
|
|||
|
{
|
|||
|
this.action = action;
|
|||
|
this.Behavior = behavior;
|
|||
|
}
|
|||
|
|
|||
|
private IAction action;
|
|||
|
}
|
|||
|
}
|