xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Go to the documentation of this file.
1 #pragma once
5 #include "panel.h"
8 namespace xtd {
10  namespace forms {
23  class forms_export_ tab_page : public panel {
24  public:
26  tab_page();
28  using panel::auto_scroll;
32  scrollable_control& auto_scroll(bool auto_scroll) override;
39  virtual int32_t image_index() const {return image_index_;}
45  virtual tab_page& image_index(int32_t value);
47  using panel::text;
51  control& text(const xtd::ustring& text) override;
53  void destroy_handle() override;
55  protected:
56  forms::create_params create_params() const override;
58  void on_handle_created(const event_args& e) override;
60  private:
61  int32_t image_index_ = -1;
62  };
63  }
64 }
Contains xtd::forms::panel container.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Used to group collections of controls.
Definition: panel.h:21
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Defines a base class for controls that support auto-scrolling behavior.
Definition: scrollable_control.h:18
virtual bool auto_scroll() const
Gets a value indicating whether the container enables the user to scroll to any controls placed outsi...
Definition: scrollable_control.h:22
virtual int32_t image_index() const
Gets the image list index value of the image displayed on the tab_page control.
Definition: tab_page.h:39
Defines the base class for controls, which are components with visual representation.
Definition: control.h:68
Represents a single tab page in a tab_control.
Definition: tab_page.h:23
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
virtual const xtd::ustring & text() const
Gets the text associated with this control.