/// <summary> Sets the <see cref="Command"/> to its default value. </summary> /// <remarks> /// The default value is a <see cref="BocListItemCommand"/> object with a <c>Command.Type</c> set to /// <see cref="CommandType.None"/>. /// </remarks> private void ResetCommand() { if (Command != null) { Command = (BocListItemCommand)Activator.CreateInstance(Command.GetType()); Command.Type = CommandType.None; } }
public BocListItemCommandClickEventArgs( BocListItemCommand command, BocCommandEnabledColumnDefinition column, int listIndex, IBusinessObject businessObject) : base(command, businessObject) { _column = column; _listIndex = listIndex; }