Label Class

Constructors & Destructor | Member Functions | Enumerated Types | Member Variables

Definition

Line 73 of System.Windows/Label.cm

Inheritance

Constructors & Destructor

public Label(LabelCreateParams& createParams)
public Label(LabelStyle labelStyle, const Color& backgroundColor, const String<char>& text, const Point& location, const Size& size, Dock dock, Anchors anchors, bool autoSize)
public Label(const String<char>& text, const Point& location, const Size& size, Dock dock, Anchors anchors, bool autoSize)

Member Functions

public inline bool AutoSize() const
private inline bool AutoSized() const
private Result<bool> DoAutoSize()
protected override Result<bool> OnCreated()
protected override Result<bool> OnTextChanged()
private inline void ResetAutoSizeFlag()
private inline void ResetAutoSized()
public Result<bool> SetAutoSize(bool autoSize)
private inline void SetAutoSizeFlag()
private inline void SetAutoSized()

Enumerated Types

private enum Flags

Member Variables

private Flags flags

Constructor& Destructor Details

Label Constructor

public Label(LabelCreateParams& createParams)

Definition
Line 95 of System.Windows/Label.cm


Label Constructor

public Label(LabelStyle labelStyle, const Color& backgroundColor, const String<char>& text, const Point& location, const Size& size, Dock dock, Anchors anchors, bool autoSize)

Definition
Line 80 of System.Windows/Label.cm


Label Constructor

public Label(const String<char>& text, const Point& location, const Size& size, Dock dock, Anchors anchors, bool autoSize)

Definition
Line 91 of System.Windows/Label.cm


Member Function Details

AutoSize Member Function

public inline bool AutoSize()

Definition
Line 160 of System.Windows/Label.cm


AutoSized Member Function

private inline bool AutoSized()

Definition
Line 224 of System.Windows/Label.cm


DoAutoSize Member Function

private Result<bool> DoAutoSize()

Definition
Line 189 of System.Windows/Label.cm


OnCreated Member Function

protected override Result<bool> OnCreated()

Definition
Line 108 of System.Windows/Label.cm


OnTextChanged Member Function

protected override Result<bool> OnTextChanged()

Definition
Line 142 of System.Windows/Label.cm


ResetAutoSizeFlag Member Function

private inline void ResetAutoSizeFlag()

Definition
Line 220 of System.Windows/Label.cm


ResetAutoSized Member Function

private inline void ResetAutoSized()

Definition
Line 232 of System.Windows/Label.cm


SetAutoSize Member Function

public Result<bool> SetAutoSize(bool autoSize)

Definition
Line 165 of System.Windows/Label.cm


SetAutoSizeFlag Member Function

private inline void SetAutoSizeFlag()

Definition
Line 216 of System.Windows/Label.cm


SetAutoSized Member Function

private inline void SetAutoSized()

Definition
Line 228 of System.Windows/Label.cm