/// <summary> /// Vvyolá event SubItemsClick /// </summary> /// <param name="subItem">SubItem clicked</param> internal virtual void OnSubItemsClick(FunctionItem subItem) { if (this.SubItemsClick != null) { this.SubItemsClick(this, new FunctionItemEventArgs(subItem)); } }
/// <summary> /// Vvyolá event SubItemsSelectedChange /// </summary> /// <param name="subItem">SubItem clicked</param> internal virtual void OnSubItemsCheckedChange(FunctionItem subItem) { if (this.SubItemsSelectedChange != null) { this.SubItemsSelectedChange(this, new FunctionItemEventArgs(subItem)); } }
/// <summary> /// Run event SubItemsEnumerateBefore /// </summary> internal virtual void OnSubItemsEnumerateBefore(FunctionItem item) { if (this.SubItemsEnumerateBefore != null) { this.SubItemsEnumerateBefore(this, new FunctionItemEventArgs(item)); } }
/// <summary> /// Vyvolá event <see cref="ItemSelectedChange"/> na této grupě. /// </summary> internal virtual void OnItemCheckedChange(FunctionItem item) { if (this.ItemSelectedChange != null) { this.ItemSelectedChange(this, new FunctionItemEventArgs(item)); } }
/// <summary> /// Vyvolá event <see cref="ItemClicked"/> na této grupě. /// </summary> internal virtual void OnItemClicked(FunctionItem item) { if (this.ItemClicked != null) { this.ItemClicked(this, new FunctionItemEventArgs(item)); } }
/// <summary> /// Konstruktor /// </summary> /// <param name="item"></param> public FunctionItemEventArgs(FunctionItem item) { this._Item = item; }