Encapsulates the information needed when creating a control.
Constructors | |
| create_params () | |
| Initializes a new instance of the create_params class. More... | |
Properties | |
| const xtd::ustring & | caption () const noexcept |
| Gets the control's initial text. More... | |
| create_params & | caption (const xtd::ustring &caption) |
| Gets the control's initial text. More... | |
| const xtd::ustring & | class_name () const noexcept |
| Gets the name of the Windows class to derive the control from. More... | |
| create_params & | class_name (const xtd::ustring &class_name) |
| Sets the name of the Windows class to derive the control from. More... | |
| size_t | class_style () const noexcept |
| Gets a bitwise combination of class style values. More... | |
| create_params & | class_style (size_t class_style) |
| Gets a bitwise combination of class style values. More... | |
| size_t | ex_style () const noexcept |
| Gets a bitwise combination of extended window style values. More... | |
| create_params & | ex_style (size_t ex_style) |
| Sets a bitwise combination of extended window style values. More... | |
| int32 | height () const noexcept |
| Gets the initial height of the control. More... | |
| create_params & | height (int32 height) |
| Sets the initial height of the control. More... | |
| drawing::point | location () const noexcept |
| Gets the initial location of the control. More... | |
| create_params & | location (const drawing::point location) |
| Sets the initial location of the control. More... | |
| intptr | param () const noexcept |
| Gets additional parameter information needed to create the control. More... | |
| create_params & | param (intptr param) |
| Sets additional parameter information needed to create the control. More... | |
| intptr | parent () const noexcept |
| Gets or sets the control's parent. More... | |
| create_params & | parent (intptr parent) |
| Sets or sets the control's parent. More... | |
| size_t | style () const noexcept |
| Gets a bitwise combination of window style values. More... | |
| create_params & | style (size_t style) |
| Sets a bitwise combination of window style values. More... | |
| drawing::size | size () const noexcept |
| Gets the initial size of the control. More... | |
| create_params & | size (const drawing::size size) |
| Sets the initial size of the control. More... | |
| int32 | width () const noexcept |
| Gets the initial width of the control. More... | |
| create_params & | width (int32 width) |
| Sets the initial width of the control. More... | |
| int32 | x () const noexcept |
| Gets the initial left position of the control. More... | |
| create_params & | x (int32 x) |
| Sets the initial left position of the control. More... | |
| int32 | y () const noexcept |
| Gets the initial top position of the control. More... | |
| create_params & | y (int32 y) |
| Sets the initial top position of the control. More... | |
Methods | |
| xtd::ustring | to_string () const noexcept override |
| Returns a string that represents the current object. More... | |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object. More... | |
| bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. More... | |
| virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. More... | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. More... | |
| template<typename object_t > | |
| std::unique_ptr< object_t > | memberwise_clone () const noexcept |
| Creates a shallow copy of the current object. More... | |
Static Public Member Functions inherited from xtd::object | |
| static bool | equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are considered equal. More... | |
| static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
| Determines whether the specified object instances are the same instance. More... | |
| xtd::forms::create_params::create_params | ( | ) |
Initializes a new instance of the create_params class.
|
noexcept |
Gets the control's initial text.
| create_params& xtd::forms::create_params::caption | ( | const xtd::ustring & | caption | ) |
Gets the control's initial text.
| caption | The control's initial text. |
|
noexcept |
Gets the name of the Windows class to derive the control from.
| create_params& xtd::forms::create_params::class_name | ( | const xtd::ustring & | class_name | ) |
Sets the name of the Windows class to derive the control from.
| class_name | The name of the Windows class to derive the control from. |
|
noexcept |
Gets a bitwise combination of class style values.
| create_params& xtd::forms::create_params::class_style | ( | size_t | class_style | ) |
Gets a bitwise combination of class style values.
| class_style | A bitwise combination of the class style values. |
|
noexcept |
Gets a bitwise combination of extended window style values.
| create_params& xtd::forms::create_params::ex_style | ( | size_t | ex_style | ) |
Sets a bitwise combination of extended window style values.
| ex_style | A bitwise combination of the extended window style values. |
|
noexcept |
Gets the initial height of the control.
| create_params& xtd::forms::create_params::height | ( | int32 | height | ) |
Sets the initial height of the control.
| height | The numeric value that represents the initial height of the control. |
|
noexcept |
Gets the initial location of the control.
| create_params& xtd::forms::create_params::location | ( | const drawing::point | location | ) |
Sets the initial location of the control.
| location | The xtd::drawing::point that represents the initial location of the control. |
|
noexcept |
Gets additional parameter information needed to create the control.
| create_params& xtd::forms::create_params::param | ( | intptr | param | ) |
Sets additional parameter information needed to create the control.
| param | An intptr that holds additional parameter information needed to create the control. |
|
noexcept |
Gets or sets the control's parent.
| create_params& xtd::forms::create_params::parent | ( | intptr | parent | ) |
Sets or sets the control's parent.
| parent | An intptr that contains the window handle of the control's parent. |
|
noexcept |
Gets the initial size of the control.
| create_params& xtd::forms::create_params::size | ( | const drawing::size | size | ) |
Sets the initial size of the control.
| location | The xtd::drawing::size that represents the initial size of the control. |
|
noexcept |
Gets a bitwise combination of window style values.
| create_params& xtd::forms::create_params::style | ( | size_t | style | ) |
Sets a bitwise combination of window style values.
| style | A bitwise combination of the window style values. |
|
overridevirtualnoexcept |
Returns a string that represents the current object.
Reimplemented from xtd::object.
|
noexcept |
Gets the initial width of the control.
| create_params& xtd::forms::create_params::width | ( | int32 | width | ) |
Sets the initial width of the control.
| height | The numeric value that represents the initial width of the control. |
|
noexcept |
Gets the initial left position of the control.
| create_params& xtd::forms::create_params::x | ( | int32 | x | ) |
Sets the initial left position of the control.
| x | The numeric value that represents the initial left position of the control. |
|
noexcept |
Gets the initial top position of the control.
| create_params& xtd::forms::create_params::y | ( | int32 | y | ) |
Sets the initial top position of the control.
| x | The numeric value that represents the initial top position of the control. |