Contains form native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native native
- Warning
- Internal use only
|
static void | activate (intptr control) |
| Activates the form and gives it focus.
|
|
static void | close (intptr control) |
| Closes the form.
|
|
static void | end_dialog (intptr control, int32 result) |
| Force end dialog with specified result.
|
|
static bool | full_screen (intptr control) |
| Gets a value indicates whether full screen window.
|
|
static void | full_screen (intptr control, bool full_screen) |
| Sets a value indicates whether full screen window.
|
|
static void | icon (intptr control, const xtd::drawing::icon &icon) |
| Sets the icon for the form.
|
|
static bool | maximize (intptr control) |
| Gets a value indicate whether maximized windows.
|
|
static void | maximize (intptr control, bool maximize) |
| Sets a value indicate whether maximized windows.
|
|
static bool | minimize (intptr control) |
| Gets a value indicate whether minimized windows.
|
|
static void | minimize (intptr control, bool minimize) |
| Sets a value indicate whether minimized windows.
|
|
static void | menu (intptr control, intptr menu) |
| Sets the main_menu that is displayed in the form.
|
|
static void | opacity (intptr control, double opacity) |
| Sets form opacity.
|
|
static void | restore (intptr control) |
| Restore form in normal state (not minimized, not maximized and not full screen).
|
|
static void | set_region (intptr control, intptr region) |
| Sets the shape of the window to that depicted by region.
|
|
static int32 | show_dialog (intptr control) |
| Show dialog.
|
|
static void | show_sheet (intptr control) |
| Show async dialog as sheet.
|
|
static int32 | show_sheet_dialog (intptr control) |
| Show dialog as sheet.
|
|
static void | virtual_size (intptr control, const drawing::size &size) |
| Sets virtual size.
|
|
◆ activate()
static void xtd::forms::native::form::activate |
( |
intptr |
control | ) |
|
|
staticprotected |
Activates the form and gives it focus.
- Parameters
-
control | Control window handle. |
- Warning
- Internal use only
◆ close()
static void xtd::forms::native::form::close |
( |
intptr |
control | ) |
|
|
staticprotected |
Closes the form.
- Parameters
-
control | Control window handle. |
- Warning
- Internal use only
◆ end_dialog()
static void xtd::forms::native::form::end_dialog |
( |
intptr |
control, |
|
|
int32 |
result |
|
) |
| |
|
staticprotected |
Force end dialog with specified result.
- Parameters
-
control | Control window handle. |
result | A dialog box id. |
- Warning
- Internal use only
◆ full_screen() [1/2]
static bool xtd::forms::native::form::full_screen |
( |
intptr |
control | ) |
|
|
staticprotected |
Gets a value indicates whether full screen window.
- Parameters
-
control | Control window handle. |
- Returns
- true if form is full screen; otherwise false.
- Warning
- Internal use only
◆ full_screen() [2/2]
static void xtd::forms::native::form::full_screen |
( |
intptr |
control, |
|
|
bool |
full_screen |
|
) |
| |
|
staticprotected |
Sets a value indicates whether full screen window.
- Parameters
-
control | Control window handle. |
full_screen | true if form is full screen; otherwise false. |
- Warning
- Internal use only
◆ icon()
Sets the icon for the form.
- Parameters
-
control | Control window handle. |
icon | An icon that represents the icon for the form. |
- Warning
- Internal use only
◆ maximize() [1/2]
static bool xtd::forms::native::form::maximize |
( |
intptr |
control | ) |
|
|
staticprotected |
Gets a value indicate whether maximized windows.
- Parameters
-
control | Control window handle. |
- Returns
- true if form is full screen; otherwise false.
- Warning
- Internal use only
◆ maximize() [2/2]
static void xtd::forms::native::form::maximize |
( |
intptr |
control, |
|
|
bool |
maximize |
|
) |
| |
|
staticprotected |
Sets a value indicate whether maximized windows.
- Parameters
-
control | Control window handle. |
maximize | true if form is maximized; otherwise false. |
- Warning
- Internal use only
◆ minimize() [1/2]
static bool xtd::forms::native::form::minimize |
( |
intptr |
control | ) |
|
|
staticprotected |
Gets a value indicate whether minimized windows.
- Parameters
-
control | Control window handle. |
- Returns
- true if form is full screen; otherwise false.
- Warning
- Internal use only
◆ minimize() [2/2]
static void xtd::forms::native::form::minimize |
( |
intptr |
control, |
|
|
bool |
minimize |
|
) |
| |
|
staticprotected |
Sets a value indicate whether minimized windows.
- Parameters
-
control | Control window handle. |
minimize | true if form is full screen; otherwise false. |
- Warning
- Internal use only
◆ menu()
static void xtd::forms::native::form::menu |
( |
intptr |
control, |
|
|
intptr |
menu |
|
) |
| |
|
staticprotected |
Sets the main_menu that is displayed in the form.
- Parameters
-
control | Control window handle. |
menu | A menu handle that represents the menu to display in the form. |
- Warning
- Internal use only
◆ opacity()
static void xtd::forms::native::form::opacity |
( |
intptr |
control, |
|
|
double |
opacity |
|
) |
| |
|
staticprotected |
Sets form opacity.
- Parameters
-
control | Control window handle. |
opacity | A double-precision value between 0.0 and 1.0 that represent the form opacity. |
- Warning
- Internal use only
◆ restore()
static void xtd::forms::native::form::restore |
( |
intptr |
control | ) |
|
|
staticprotected |
Restore form in normal state (not minimized, not maximized and not full screen).
- Parameters
-
control | Control window handle. |
- Warning
- Internal use only
◆ set_region()
static void xtd::forms::native::form::set_region |
( |
intptr |
control, |
|
|
intptr |
region |
|
) |
| |
|
staticprotected |
Sets the shape of the window to that depicted by region.
- Parameters
-
control | Control window handle. |
region | The region to set shape; |
- Warning
- Internal use only
◆ show_dialog()
static int32 xtd::forms::native::form::show_dialog |
( |
intptr |
control | ) |
|
|
staticprotected |
Show dialog.
- Parameters
-
control | Control window handle. |
- Warning
- Internal use only
◆ show_sheet()
static void xtd::forms::native::form::show_sheet |
( |
intptr |
control | ) |
|
|
staticprotected |
Show async dialog as sheet.
- Parameters
-
control | Control window handle. |
- Warning
- Internal use only
◆ show_sheet_dialog()
static int32 xtd::forms::native::form::show_sheet_dialog |
( |
intptr |
control | ) |
|
|
staticprotected |
Show dialog as sheet.
- Parameters
-
control | Control window handle. |
- Warning
- Internal use only
◆ virtual_size()
static void xtd::forms::native::form::virtual_size |
( |
intptr |
control, |
|
|
const drawing::size & |
size |
|
) |
| |
|
staticprotected |
Sets virtual size.
- Parameters
-
- Warning
- Internal use only
The documentation for this class was generated from the following file:
- xtd.forms.native/include/xtd/forms/native/form.hpp