CContainer


Implements Container control.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CContainer :public virtual IContainer, public CControl
{
public:
    IControl *getControl(const int index) override;
    IControl *getControl(const String &name) override;
    IControl *getControl(const PointF &position) override;
    RectF getClientRect() override;

    RectF getPadding() override;

    bool setDPI(const Point &value) override;
    bool setPadding(const RectF &value) override;

    CContainer();
    CContainer(IForm *parent);
    CContainer(IControl *parent);

    Color getBackgroundColor() const; // Return background color 
    Gradient *getBackgroundGradient(); // Return background gradient 
    bool isUseMask() const; // Whether to use mask 
    bool isOutlineInEditor() const; // Return whether the widget should be outlined in the Form Builder 

    bool setBackgroundColor(const Color &value); // Set background color 
    bool setUseMask(const bool value); // Set whether to use mask 
    bool setOutlineInEditor(const bool value); // Set whether the widget should be outlined in the Form Builder 
};
Namespace: nitisa::standard
Include: Standard/Controls/Container/Container.h