Constructor Window
Window(Rect, ustring)
public Window(Rect frame, ustring title = null)
Parameters
frame
RectSuperview-relative rectangle specifying the location and size
title
ustringTitle
Remarks
This constructor initializes a Window with a LayoutStyle of Absolute. Use constructors
that do not take Rect
parameters to initialize a Window with Computed.
Window(ustring)
public Window(ustring title = null)
Parameters
title
ustringTitle.
Remarks
This constructor initializes a View with a LayoutStyle of Computed. Use X, Y, Width, and Height properties to dynamically control the size and location of the view.
Window()
public Window()
Window(Rect, ustring, int, Border)
Initializes a new instance of the Window using Absolute positioning with the specified frame for its location, with the specified frame padding, and an optional title.
public Window(Rect frame, ustring title = null, int padding = 0, Border border = null)
Parameters
frame
RectSuperview-relative rectangle specifying the location and size
title
ustringTitle
padding
intNumber of characters to use for padding of the drawn frame.
border
BorderThe Border.
Remarks
This constructor initializes a Window with a LayoutStyle of Absolute. Use constructors
that do not take Rect
parameters to initialize a Window with LayoutStyle of Computed
Window(ustring, int, Border)
public Window(ustring title = null, int padding = 0, Border border = null)
Parameters
title
ustringTitle.
padding
intNumber of characters to use for padding of the drawn frame.
border
BorderThe Border.