Represents a xtd::forms::status_bar panel.
Public Constructors | |
| status_bar_panel () | |
| Initialises a new instance of xtd::forms::status_bar_panel class. | |
Public Properties | |
| auto | alignment () const noexcept -> xtd::forms::horizontal_alignment |
| Gets the alignment of text and icons within the status bar panel. | |
| auto | alignment (xtd::forms::horizontal_alignment value) -> status_bar_panel & |
| Sets the alignment of text and icons within the status bar panel. | |
| auto | auto_size () const noexcept -> xtd::forms::status_bar_panel_auto_size |
| Gets a value indicating whether the status bar panel is automatically resized. | |
| auto | auto_size (xtd::forms::status_bar_panel_auto_size value) -> status_bar_panel & |
| Sets a value indicating whether the status bar panel is automatically resized. | |
| auto | border_style () const noexcept -> xtd::forms::status_bar_panel_border_style |
| Gets the border style of the status bar panel. | |
| auto | border_style (xtd::forms::status_bar_panel_border_style value) -> status_bar_panel & |
| Sets the border style of the status bar panel. | |
| auto | control () const noexcept -> std::optional< control_ref > |
| Gets the control to be displayed in the control status bar panel. | |
| auto | control (const xtd::forms::control &value) -> status_bar_panel & |
| Sets the control to be displayed in the control status bar panel. | |
| auto | control (xtd::null_ptr) -> status_bar_panel & |
| Resets the control to be displayed in the control status bar panel. | |
| auto | image () const noexcept -> const xtd::drawing::image & |
| Gets the image to display within the status bar panel. | |
| auto | image (const xtd::drawing::image &value) -> status_bar_panel & |
| Sets the image to display within the status bar panel. | |
| auto | min_width () const noexcept -> xtd::int32 |
| Gets the minimum allowed width of the status bar panel within the xtd::forms::status_bar control. | |
| auto | min_width (xtd::int32 value) -> status_bar_panel & |
| Sets the minimum allowed width of the status bar panel within the xtd::forms::status_bar control. | |
| auto | name () const noexcept -> const xtd::string & |
| Gets the name of the xtd::forms::status_bar_panel. | |
| auto | name (const xtd::string &value) -> status_bar_panel & |
| Sets the name of the xtd::forms::status_bar_panel. | |
| auto | parent () const noexcept -> std::optional< xtd::ref< xtd::forms::status_bar > > |
| Gets the xtd::forms::status_bar control that the status bar panel is assigned to. | |
| auto | style () const noexcept -> xtd::forms::status_bar_panel_style |
| Gets the style of the status bar panel. | |
| auto | style (xtd::forms::status_bar_panel_style value) -> status_bar_panel & |
| Sets the style of the status bar panel. | |
| auto | tag () const noexcept -> const xtd::any_object & |
| Gets an object that contains data about the xtd::forms::status_bar_panel. | |
| auto | tag (const xtd::any_object &value) -> status_bar_panel & |
| Sets an object that contains data about the xtd::forms::status_bar_panel. | |
| auto | text () const noexcept -> const xtd::string & |
| Gets the text of the status bar panel. | |
| auto | text (const xtd::string &value) -> status_bar_panel & |
| Sets the text of the status bar panel. | |
| auto | tool_tip_text () const noexcept -> const xtd::string & |
| Gets ToolTip text associated with the status bar panel. | |
| auto | tool_tip_text (const xtd::string &value) -> status_bar_panel & |
| Sets ToolTip text associated with the status bar panel. | |
| auto | width () const noexcept -> xtd::int32 |
| Gets the width of the status bar panel within the xtd::forms::status_bar control. | |
| auto | width (xtd::int32 value) -> status_bar_panel & |
| Sets the width of the status bar panel within the xtd::forms::status_bar control. | |
Public Methods | |
| auto | begin_init () -> void |
| Begins the initialization of a xtd::forms::status_bar_panel. | |
| auto | equals (const xtd::object &obj) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | equals (const status_bar_panel &other) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | end_init () -> void |
| Ends the initialization of a xtd::forms::status_bar_panel. | |
| 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 xtd::forms::status_bar_panel control. | |
Public Static Methods | |
| static auto | create_control (const xtd::string &text, const xtd::forms::control &control) -> status_bar_panel |
| A factory to create a control status bar panel with specified text and control. | |
| static auto | create_control (const xtd::forms::control &control) -> status_bar_panel |
| A factory to create a control status bar panel with specified control. | |
| static auto | create_panel (const xtd::string &text) -> status_bar_panel |
| A factory to create a status bar panel with specified text. | |
| static auto | create_panel (const xtd::drawing::image &image) -> status_bar_panel |
| A factory to create a status bar panel with specified image index. | |
| static auto | create_panel (const xtd::string &text, const xtd::drawing::image &image) -> status_bar_panel |
| A factory to create a status bar panel with specified text and image index. | |
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. | |
| virtual auto | equals (const status_bar_panel &) const noexcept -> bool=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| 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. | |
| component () | |
| Initialises a new instance of the component class. | |
| virtual auto | can_raise_events () const noexcept -> bool |
| Gets a value indicating whether the component can raise an event. | |
| auto | design_mode () const noexcept -> bool |
| Gets a value that indicates whether the component is currently in design mode. | |
| xtd::forms::status_bar_panel::status_bar_panel | ( | ) |
Initialises a new instance of xtd::forms::status_bar_panel class.
|
nodiscardnoexcept |
Gets the alignment of text and icons within the status bar panel.
| auto xtd::forms::status_bar_panel::alignment | ( | xtd::forms::horizontal_alignment | value | ) | -> status_bar_panel & |
Sets the alignment of text and icons within the status bar panel.
| value | One of the xtd::forms::horizontal_alignment values. The default is xtd::forms::horizontal_alignment::left. |
|
nodiscardnoexcept |
Gets a value indicating whether the status bar panel is automatically resized.
| auto xtd::forms::status_bar_panel::auto_size | ( | xtd::forms::status_bar_panel_auto_size | value | ) | -> status_bar_panel & |
Sets a value indicating whether the status bar panel is automatically resized.
| value | One of the xtd::forms::status_bar_panel_auto_size values. The default is xtd::forms::status_bar_panel_auto_size::none. |
|
nodiscardnoexcept |
Gets the border style of the status bar panel.
| auto xtd::forms::status_bar_panel::border_style | ( | xtd::forms::status_bar_panel_border_style | value | ) | -> status_bar_panel & |
Sets the border style of the status bar panel.
| value | One of the xtd::forms::status_bar_panel_border_style values. The default is xtd::forms::status_bar_panel_border_style::sunken. |
|
nodiscardnoexcept |
Gets the control to be displayed in the control status bar panel.
| auto xtd::forms::status_bar_panel::control | ( | const xtd::forms::control & | value | ) | -> status_bar_panel & |
Sets the control to be displayed in the control status bar panel.
| value | A xtd::forms::control to be displayed in the control status bar panel. The default is std::nullopt. |
| auto xtd::forms::status_bar_panel::control | ( | xtd::null_ptr | ) | -> status_bar_panel & |
Resets the control to be displayed in the control status bar panel.
| xtd::null. |
|
nodiscardnoexcept |
Gets the image to display within the status bar panel.
| auto xtd::forms::status_bar_panel::image | ( | const xtd::drawing::image & | value | ) | -> status_bar_panel & |
Sets the image to display within the status bar panel.
| value | An xtd::drawing::image that represents the image to display in the panel. |
|
nodiscardnoexcept |
Gets the minimum allowed width of the status bar panel within the xtd::forms::status_bar control.
| auto xtd::forms::status_bar_panel::min_width | ( | xtd::int32 | value | ) | -> status_bar_panel & |
Sets the minimum allowed width of the status bar panel within the xtd::forms::status_bar control.
| value | The minimum width, in pixels, of the xtd::forms::status_bar_panel |
| xtd::argument_exception | A value less than 0 is assigned to the property. |
|
nodiscardnoexcept |
Gets the name of the xtd::forms::status_bar_panel.
| auto xtd::forms::status_bar_panel::name | ( | const xtd::string & | value | ) | -> status_bar_panel & |
Sets the name of the xtd::forms::status_bar_panel.
| value | The name of the xtd::forms::status_bar_panel. |
|
nodiscardnoexcept |
Gets the xtd::forms::status_bar control that the status bar panel is assigned to.
|
nodiscardnoexcept |
Gets the style of the status bar panel.
| auto xtd::forms::status_bar_panel::style | ( | xtd::forms::status_bar_panel_style | value | ) | -> status_bar_panel & |
Sets the style of the status bar panel.
| value | One of the xtd::forms::status_bar_panel_style values. The default is xtd::forms::status_bar_panel_style::text. |
|
nodiscardnoexcept |
Gets an object that contains data about the xtd::forms::status_bar_panel.
| auto xtd::forms::status_bar_panel::tag | ( | const xtd::any_object & | value | ) | -> status_bar_panel & |
Sets an object that contains data about the xtd::forms::status_bar_panel.
| value | An xtd::any_object that contains data about the xtd::forms::status_bar_panel. The default is empty. |
|
nodiscardnoexcept |
Gets the text of the status bar panel.
| auto xtd::forms::status_bar_panel::text | ( | const xtd::string & | value | ) | -> status_bar_panel & |
Sets the text of the status bar panel.
| value | The text displayed in the panel. The default is an empty string (""). |
|
nodiscardnoexcept |
Gets ToolTip text associated with the status bar panel.
| auto xtd::forms::status_bar_panel::tool_tip_text | ( | const xtd::string & | value | ) | -> status_bar_panel & |
Sets ToolTip text associated with the status bar panel.
| value | The ToolTip text for the panel. |
|
nodiscardnoexcept |
Gets the width of the status bar panel within the xtd::forms::status_bar control.
| auto xtd::forms::status_bar_panel::width | ( | xtd::int32 | value | ) | -> status_bar_panel & |
Sets the width of the status bar panel within the xtd::forms::status_bar control.
| value | The width, in pixels, of the xtd::forms::status_bar_panel. |
| auto xtd::forms::status_bar_panel::begin_init | ( | ) | -> void |
Begins the initialization of a xtd::forms::status_bar_panel.
|
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. |
| auto xtd::forms::status_bar_panel::end_init | ( | ) | -> void |
Ends the initialization of a xtd::forms::status_bar_panel.
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
nodiscardoverridevirtualnoexcept |
Returns a string that represents the xtd::forms::status_bar_panel control.
Reimplemented from xtd::object.
|
staticnodiscard |
A factory to create a control status bar panel with specified text and control.
| text | The text displayed on the status bar panel. |
| control | A xtd::forms::control to be displayed in the control status bar panel. |
|
staticnodiscard |
A factory to create a control status bar panel with specified control.
| control | A xtd::forms::control to be displayed in the control status bar panel. |
|
staticnodiscard |
A factory to create a status bar panel with specified text.
| text | The text displayed on the status bar panel. |
|
staticnodiscard |
A factory to create a status bar panel with specified image index.
| image | The xtd::drawing::image assigned to the status bar panel. |
|
staticnodiscard |
A factory to create a status bar panel with specified text and image index.
| text | The text displayed on the status bar panel. |
| image | The xtd::drawing::image assigned to the status bar panel. |