public override void OnChildrenLoaded() { // We're always draggable: this["draggable"] = "1"; // Get the scroll bar: ScrollBar = parentElement as HtmlScrollbarElement; if (ScrollBar == null) { return; } // Set orient attrib for CSS: this["orient"] = ScrollBar["orient"]; IsVertical = (ScrollBar.IsVertical); }
public override void OnChildrenLoaded() { // We're always draggable: setAttribute("draggable", "1"); // Get the scroll bar: ScrollBar = parentElement as HtmlScrollbarElement; if (ScrollBar == null) { return; } // Set orient attrib for CSS: setAttribute("orient", ScrollBar.getAttribute("orient")); IsVertical = (ScrollBar.IsVertical); }