private void Init(Formatting Formatting, CollectionViewGuiOptionBase parentlist) { this.Focusable = true; this.Icon = SymbolFactory.Copy(parentlist.Icon); this.ItemsList = new List <ListItem>(); this.ItemFormatting = Formatting; this._parent = parentlist; }
public ListItem(string Value, string Text, Formatting Formatting, CollectionViewGuiOptionBase parentlist) : base() { this.Init(Formatting, parentlist); this.Value = Value; if (string.IsNullOrEmpty(Text)) { this.Text = ""; } else { this.Text = Text; } LoggerFacade.Info("Created ListItem: " + this.Text + ". Value: " + this.Value); }
public ListBuilder(CollectionViewGuiOptionBase parent) { this._parent = parent; }
public ListItem(XElement InputXml, Formatting Formatting, CollectionViewGuiOptionBase parentlist) : base() { this.Init(Formatting, parentlist); this.LoadXml(InputXml); LoggerFacade.Info("Created ListItem: " + this.Text + ". Value: " + this.Value); }