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