public SplitPane(Element firstWidget, Element secondWidget, SplitPaneStyle style, bool vertical = false) { SetStyle(style); SetFirstWidget(firstWidget); SetSecondWidget(secondWidget); _vertical = vertical; SetSize(PreferredWidth, PreferredHeight); }
public SplitPane(SplitPaneStyle style, bool vertical = false) : this(null, null, style, vertical) { }
public SplitPane SetStyle(SplitPaneStyle style) { _style = style; SetHandle(_style.Handle); return(this); }