protected override void HandleClick(StandardItem <T> Item) { base.HandleClick(Item); if (_Foldable) { _Items[0] = new SelectionDummyOption <T>(Item) { Parent = this }; _Items[0].Mode = Class.Mode.Focus; } }
public SelectionDummyOption(StandardItem <T> Clone) : base(Clone.Class.Name, Series.Standard) { DisplayedString = Clone.DisplayedString; Value = Clone.Value; }
public override void Insert(int Index, StandardItem <T> Item) { base.Insert(Index + 1, Item); UpdateDummy(); }
public override void Remove(StandardItem <T> Item) { base.Remove(Item); UpdateDummy(); }
public override void Add(StandardItem <T> Item) { base.Add(Item); UpdateDummy(); }