xtd.forms - Reference Guide  0.1.0
Modern c++17 library containing classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows, Apple macOS and Linux like Ubuntu operating system.
xtd::forms::component Class Reference

Provides the base implementation and enables object sharing between applications. More...

#include <component.h>

Inheritance diagram for xtd::forms::component:
xtd::forms::background_worker xtd::forms::common_dialog xtd::forms::control xtd::forms::emoticon xtd::forms::image_list xtd::forms::menu xtd::forms::settings xtd::forms::timer

Protected Member Functions

virtual bool can_raise_events () const
 Gets a value indicating whether the component can raise an event. More...
 
bool design_mode () const
 Gets a value that indicates whether the component is currently in design mode. More...
 

Detailed Description

Provides the base implementation and enables object sharing between applications.

Remarks
component is the base class for all components and controls.

Member Function Documentation

§ can_raise_events()

virtual bool xtd::forms::component::can_raise_events ( ) const
inlineprotectedvirtual

Gets a value indicating whether the component can raise an event.

Returns
true if the component can raise events; otherwise, false. The default is true.
Remarks
The default implementation of this property always returns true. Classes that inherit from the Component class should override this property to provide the ability to disable the raising of events.

Reimplemented in xtd::forms::control.

§ design_mode()

bool xtd::forms::component::design_mode ( ) const
inlineprotected

Gets a value that indicates whether the component is currently in design mode.

Returns
true if the component is in design mode; otherwise, false.

The documentation for this class was generated from the following file: