Exemple #1
0
        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;
            }
        }
Exemple #2
0
 public SelectionDummyOption(StandardItem <T> Clone)
     : base(Clone.Class.Name, Series.Standard)
 {
     DisplayedString = Clone.DisplayedString;
     Value           = Clone.Value;
 }
Exemple #3
0
 public override void Insert(int Index, StandardItem <T> Item)
 {
     base.Insert(Index + 1, Item);
     UpdateDummy();
 }
Exemple #4
0
 public override void Remove(StandardItem <T> Item)
 {
     base.Remove(Item);
     UpdateDummy();
 }
Exemple #5
0
 public override void Add(StandardItem <T> Item)
 {
     base.Add(Item);
     UpdateDummy();
 }