/// <summary> /// Add to list /// </summary> /// <param name="element"></param> public void AddElement(ScrollElement element) { this.elements.Add(element); this.AddChild(element); this.RecalculateSize(); this.RecalculatePosition(); }
/// <summary> /// Add to list /// </summary> /// <param name="element"></param> public void AddElement(ScrollElement element) { this.elements.Add(element); this.AddChild(element); this.RecalculateSize(); this.RecalculatePosition(); }
/// <summary> /// Remove from list /// </summary> /// <param name="element"></param> public void RemoveElement(ScrollElement element) { this.elements.Remove(element); this.RecalculateSize(); }
/// <summary> /// Remove from list /// </summary> /// <param name="element"></param> public void RemoveElement(ScrollElement element) { this.elements.Remove(element); this.RecalculateSize(); }