//-------------- public void ClearItems() { if (_items != null) { _items.Clear(); } if (_div_floatingPart != null) { _div_floatingPart.ClearAllElements(); } }
void ItemSelected(LayoutFarm.UI.UIEventArgs e) { //some item is selected if (e.SourceHitElement is DomElement) { DomElement domElem = (DomElement)e.SourceHitElement; if (domElem.Tag != null) { //selected value _span_textLabel.ClearAllElements(); _span_textLabel.AddTextContent(domElem.Tag.ToString()); NeedUpdateDom = true; } } e.StopPropagation(); CloseHinge(); }
//------------------------ internal void ChildNotifyTabMouseDown(TabPage childPage) { //change content *** contentNode.ClearAllElements(); contentNode.AddChild(childPage.GetPageBody(contentNode)); }