Constructor Dialog
Dialog(ustring, int, int, params Button[])
Initializes a new instance of the Dialog class using Computed positioning and an optional set of Buttons to display
public Dialog(ustring title, int width, int height, params Button[] buttons)
Parameters
title
ustringTitle for the dialog.
width
intWidth for the dialog.
height
intHeight for the dialog.
buttons
Button[]Optional buttons to lay out at the bottom of the dialog.
Remarks
if width
and height
are both 0, the Dialog will be vertically and horizontally centered in the
container and the size will be 85% of the container.
After initialization use X
, Y
, Width
, and Height
to override this with a location or size.
Dialog()
public Dialog()
Remarks
Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container.
After initialization use X
, Y
, Width
, and Height
to override this with a location or size.
Use AddButton(Button) to add buttons to the dialog.
Dialog(ustring, params Button[])
Initializes a new instance of the Dialog class using Computed positioning and with an optional set of Buttons to display
public Dialog(ustring title, params Button[] buttons)
Parameters
title
ustringTitle for the dialog.
buttons
Button[]Optional buttons to lay out at the bottom of the dialog.
Remarks
Te Dialog will be vertically and horizontally centered in the container and the size will be 85% of the container.
After initialization use X
, Y
, Width
, and Height
to override this with a location or size.