Table of Contents

Method InitializeControls

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

InitializeControls(string, string)

Initializes the controls and layout for the window, setting up its appearance and behavior.

protected virtual void InitializeControls(string title, string details)

Parameters

title string

The text to display in title of the window.

details string

The text to display in the read-only details section of the window.

Remarks

This method configures the window with predefined settings, including size, padding, and positioning. It creates a grid layout containing a read-only text box for displaying details and a "Close" button. The "Close" button is set as the default and cancel button for the window.