Constructor wpfBuilder.wpfBuilder(+ 1 overload)
Overload
This constructor creates System.Windows.Window object with panel of specified type (default is System.Windows.Controls.Grid).
public wpfBuilder(string windowTitle, WBPanelType panelType = WBPanelType.Grid)
Parameters
windowTitle (string)
Window title bar text. |
panelType (WBPanelType)
Panel type. Default is System.Windows.Controls.Grid. Later you also can add nested panels of various types with StartX functions. |
Overload(top)
This constructor creates panel of specified type (default is System.Windows.Controls.Grid) and optionally adds to a container.
public wpfBuilder(FrameworkElement container = null, WBPanelType panelType = WBPanelType.Grid, bool setProperties = true)
Parameters
container (FrameworkElement)
Window or some other element that will contain the panel. Should be empty, unless the type supports multiple direct child elements. Can be |
panelType (WBPanelType)
Panel type. Default is System.Windows.Controls.Grid. Later you also can add nested panels of various types with StartX functions. |
setProperties (bool)
Set some container's properties like other overload does. Default
|