BorderedControl Class

Definition

Line 93 of System.Windows/BorderedControl.cm

Inheritance

Constructors & Destructor

public BorderedControl(BorderedControlCreateParams& createParams)
public BorderedControl(Control* child)
public BorderedControl(Control* child_, BorderStyle borderStyle_, const Color& normalBorderColor_, const Color& focusedBorderColor_, const Point& location, const Size& size, Dock dock, Anchors anchors)
public BorderedControl(Control* child, BorderStyle borderStyle, const Point& location, const Size& size, Dock dock, Anchors anchors)
public BorderedControl(Control* child, const Point& location, const Size& size, Dock dock, Anchors anchors)

Member Functions

private inline nothrow bool ChildFocused() const
private void Draw3DBorder(Graphics& graphics)
private void DrawBorder(Graphics& graphics)
private void DrawSingleBorder(Graphics& graphics)
public override nothrow ContainerControl* GetContainerControl() const
internal override nothrow Control* GetFirstEnabledTabStopControl() const
internal override nothrow Control* GetLastEnabledTabStopControl() const
protected override nothrow bool IsDecoratorControl() const
protected override void OnChildContentChanged(ControlEventArgs& args)
protected override void OnChildContentLocationChanged(ControlEventArgs& args)
protected override void OnChildContentSizeChanged(ControlEventArgs& args)
protected override void OnChildGotFocus(ControlEventArgs& args)
protected override void OnChildLostFocus(ControlEventArgs& args)
protected override void OnChildSizeChanged(ControlEventArgs& args)
protected override void OnLocationChanged()
protected override void OnPaint(PaintEventArgs& args)
protected override void OnSizeChanged(uint windowState)
public override void PrintWindowTree(int level)
private inline nothrow void ResetChildFocused()
public nothrow void SetBorderWidth(int borderWidth_)
private inline nothrow void SetChildFocused()
private void SetChildPos()
public nothrow void SetFocusedBorderColor(const Color& focusedBorderColor_)
public nothrow void SetNormalBorderColor(const Color& normalBorderColor_)

Enumerated Types

private enum Flags

Member Variables

private BorderStyle borderStyle
private int borderWidth
private Control* child
private Container container
private Flags flags
private Color focusedBorderColor
private Color normalBorderColor

Constructor& Destructor Details

BorderedControl Constructor

public BorderedControl(BorderedControlCreateParams& createParams)

Definition
Line 120 of System.Windows/BorderedControl.cm


BorderedControl Constructor

public BorderedControl(Control* child)

Definition
Line 117 of System.Windows/BorderedControl.cm


BorderedControl Constructor

public BorderedControl(Control* child_, BorderStyle borderStyle_, const Color& normalBorderColor_, const Color& focusedBorderColor_, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 99 of System.Windows/BorderedControl.cm


BorderedControl Constructor

public BorderedControl(Control* child, BorderStyle borderStyle, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 109 of System.Windows/BorderedControl.cm


BorderedControl Constructor

public BorderedControl(Control* child, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 113 of System.Windows/BorderedControl.cm


Member Function Details

ChildFocused Member Function

private inline nothrow bool ChildFocused()

Definition
Line 326 of System.Windows/BorderedControl.cm


Draw3DBorder Member Function

private void Draw3DBorder(Graphics& graphics)

Definition
Line 307 of System.Windows/BorderedControl.cm


DrawBorder Member Function

private void DrawBorder(Graphics& graphics)

Definition
Line 283 of System.Windows/BorderedControl.cm


DrawSingleBorder Member Function

private void DrawSingleBorder(Graphics& graphics)

Definition
Line 291 of System.Windows/BorderedControl.cm


GetContainerControl Member Function

public override nothrow ContainerControl* GetContainerControl()

Definition
Line 158 of System.Windows/BorderedControl.cm


GetFirstEnabledTabStopControl Member Function

internal override nothrow Control* GetFirstEnabledTabStopControl()

Definition
Line 166 of System.Windows/BorderedControl.cm


GetLastEnabledTabStopControl Member Function

internal override nothrow Control* GetLastEnabledTabStopControl()

Definition
Line 170 of System.Windows/BorderedControl.cm


IsDecoratorControl Member Function

protected override nothrow bool IsDecoratorControl()

Definition
Line 154 of System.Windows/BorderedControl.cm


OnChildContentChanged Member Function

protected override void OnChildContentChanged(ControlEventArgs& args)

Definition
Line 183 of System.Windows/BorderedControl.cm


OnChildContentLocationChanged Member Function

protected override void OnChildContentLocationChanged(ControlEventArgs& args)

Definition
Line 174 of System.Windows/BorderedControl.cm


OnChildContentSizeChanged Member Function

protected override void OnChildContentSizeChanged(ControlEventArgs& args)

Definition
Line 192 of System.Windows/BorderedControl.cm


OnChildGotFocus Member Function

protected override void OnChildGotFocus(ControlEventArgs& args)

Definition
Line 201 of System.Windows/BorderedControl.cm


OnChildLostFocus Member Function

protected override void OnChildLostFocus(ControlEventArgs& args)

Definition
Line 212 of System.Windows/BorderedControl.cm


OnChildSizeChanged Member Function

protected override void OnChildSizeChanged(ControlEventArgs& args)

Definition
Line 251 of System.Windows/BorderedControl.cm


OnLocationChanged Member Function

protected override void OnLocationChanged()

Definition
Line 241 of System.Windows/BorderedControl.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 260 of System.Windows/BorderedControl.cm


OnSizeChanged Member Function

protected override void OnSizeChanged(uint windowState)

Definition
Line 246 of System.Windows/BorderedControl.cm


PrintWindowTree Member Function

public override void PrintWindowTree(int level)

Definition
Line 223 of System.Windows/BorderedControl.cm


ResetChildFocused Member Function

private inline nothrow void ResetChildFocused()

Definition
Line 334 of System.Windows/BorderedControl.cm


SetBorderWidth Member Function

public nothrow void SetBorderWidth(int borderWidth_)

Definition
Line 149 of System.Windows/BorderedControl.cm


SetChildFocused Member Function

private inline nothrow void SetChildFocused()

Definition
Line 330 of System.Windows/BorderedControl.cm


SetChildPos Member Function

private void SetChildPos()

Definition
Line 274 of System.Windows/BorderedControl.cm


SetFocusedBorderColor Member Function

public nothrow void SetFocusedBorderColor(const Color& focusedBorderColor_)

Definition
Line 141 of System.Windows/BorderedControl.cm


SetNormalBorderColor Member Function

public nothrow void SetNormalBorderColor(const Color& normalBorderColor_)

Definition
Line 133 of System.Windows/BorderedControl.cm