CheckBox Class

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

Definition

Line 43 of System.Windows/CheckBox.cm

Inheritance

Constructors & Destructor

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

Member Functions

private inline bool AutoSized() const
public bool Checked()
public Event<CheckedChangedEventHandler, EmptyEventArgs>& CheckedChangedEvent() const
private Result<bool> DoAutoSize()
private inline bool GetAutoSizeFlag() const
private Size GetBorderSize()
private Size GetCheckSize()
private inline bool GetCheckedFlag() const
protected virtual void OnCheckedChanged()
protected override Result<bool> OnClick(ClickEventArgs& args)
protected override Result<bool> OnCreated()
protected override Result<bool> OnTextChanged()
private inline void ResetAutoSizeFlag()
private inline void ResetAutoSized()
private void ResetCheckedFlag()
private void RetrieveCheckedState()
private inline void SetAutoSizeFlag()
private inline void SetAutoSized()
public void SetChecked(bool checked)
private void SetCheckedFlag()

Enumerated Types

private enum Flags

Member Variables

private Event<CheckedChangedEventHandler, EmptyEventArgs> checkedChangedEvent
private Flags flags

Constructor& Destructor Details

CheckBox Constructor

public CheckBox(CheckBoxCreateParams& createParams)

Definition
Line 67 of System.Windows/CheckBox.cm


CheckBox Constructor

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

Definition
Line 49 of System.Windows/CheckBox.cm


CheckBox Constructor

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

Definition
Line 63 of System.Windows/CheckBox.cm


Member Function Details

AutoSized Member Function

private inline bool AutoSized()

Definition
Line 264 of System.Windows/CheckBox.cm


Checked Member Function

public bool Checked()

Definition
Line 78 of System.Windows/CheckBox.cm


CheckedChangedEvent Member Function

public Event<CheckedChangedEventHandler, EmptyEventArgs>& CheckedChangedEvent()

Definition
Line 173 of System.Windows/CheckBox.cm


DoAutoSize Member Function

private Result<bool> DoAutoSize()

Definition
Line 189 of System.Windows/CheckBox.cm


GetAutoSizeFlag Member Function

private inline bool GetAutoSizeFlag()

Definition
Line 252 of System.Windows/CheckBox.cm


GetBorderSize Member Function

private Size GetBorderSize()

Definition
Line 226 of System.Windows/CheckBox.cm


GetCheckSize Member Function

private Size GetCheckSize()

Definition
Line 220 of System.Windows/CheckBox.cm


GetCheckedFlag Member Function

private inline bool GetCheckedFlag()

Definition
Line 232 of System.Windows/CheckBox.cm


OnCheckedChanged Member Function

protected virtual void OnCheckedChanged()

Definition
Line 169 of System.Windows/CheckBox.cm


OnClick Member Function

protected override Result<bool> OnClick(ClickEventArgs& args)

Definition
Line 143 of System.Windows/CheckBox.cm


OnCreated Member Function

protected override Result<bool> OnCreated()

Definition
Line 101 of System.Windows/CheckBox.cm


OnTextChanged Member Function

protected override Result<bool> OnTextChanged()

Definition
Line 151 of System.Windows/CheckBox.cm


ResetAutoSizeFlag Member Function

private inline void ResetAutoSizeFlag()

Definition
Line 260 of System.Windows/CheckBox.cm


ResetAutoSized Member Function

private inline void ResetAutoSized()

Definition
Line 272 of System.Windows/CheckBox.cm


ResetCheckedFlag Member Function

private void ResetCheckedFlag()

Definition
Line 244 of System.Windows/CheckBox.cm


RetrieveCheckedState Member Function

private void RetrieveCheckedState()

Definition
Line 177 of System.Windows/CheckBox.cm


SetAutoSizeFlag Member Function

private inline void SetAutoSizeFlag()

Definition
Line 256 of System.Windows/CheckBox.cm


SetAutoSized Member Function

private inline void SetAutoSized()

Definition
Line 268 of System.Windows/CheckBox.cm


SetChecked Member Function

public void SetChecked(bool checked)

Definition
Line 82 of System.Windows/CheckBox.cm


SetCheckedFlag Member Function

private void SetCheckedFlag()

Definition
Line 236 of System.Windows/CheckBox.cm