PaddedControl Class

Definition

Line 43 of System.Windows/PaddedControl.cm

Inheritance

Constructors & Destructor

public PaddedControl(Control* child)
public PaddedControl(Control* child_, const Padding& padding_, const Point& location, const Size& size, Dock dock, Anchors anchors)
public PaddedControl(PaddedControlCreateParams& createParams)

Member Functions

public override nothrow Padding DefaultPadding() 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 OnLocationChanged()
protected override void OnPaint(PaintEventArgs& args)
protected override void OnSizeChanged(uint windowState)
private void SetChildPos()

Member Variables

private Control* child
private Container container
private Padding padding

Constructor& Destructor Details

PaddedControl Constructor

public PaddedControl(Control* child)

Definition
Line 52 of System.Windows/PaddedControl.cm


PaddedControl Constructor

public PaddedControl(Control* child_, const Padding& padding_, const Point& location, const Size& size, Dock dock, Anchors anchors)

Definition
Line 45 of System.Windows/PaddedControl.cm


PaddedControl Constructor

public PaddedControl(PaddedControlCreateParams& createParams)

Definition
Line 56 of System.Windows/PaddedControl.cm


Member Function Details

DefaultPadding Member Function

public override nothrow Padding DefaultPadding()

Definition
Line 69 of System.Windows/PaddedControl.cm


GetFirstEnabledTabStopControl Member Function

internal override nothrow Control* GetFirstEnabledTabStopControl()

Definition
Line 133 of System.Windows/PaddedControl.cm


GetLastEnabledTabStopControl Member Function

internal override nothrow Control* GetLastEnabledTabStopControl()

Definition
Line 137 of System.Windows/PaddedControl.cm


IsDecoratorControl Member Function

protected override nothrow bool IsDecoratorControl()

Definition
Line 65 of System.Windows/PaddedControl.cm


OnChildContentChanged Member Function

protected override void OnChildContentChanged(ControlEventArgs& args)

Definition
Line 83 of System.Windows/PaddedControl.cm


OnChildContentLocationChanged Member Function

protected override void OnChildContentLocationChanged(ControlEventArgs& args)

Definition
Line 92 of System.Windows/PaddedControl.cm


OnChildContentSizeChanged Member Function

protected override void OnChildContentSizeChanged(ControlEventArgs& args)

Definition
Line 101 of System.Windows/PaddedControl.cm


OnChildGotFocus Member Function

protected override void OnChildGotFocus(ControlEventArgs& args)

Definition
Line 110 of System.Windows/PaddedControl.cm


OnChildLostFocus Member Function

protected override void OnChildLostFocus(ControlEventArgs& args)

Definition
Line 119 of System.Windows/PaddedControl.cm


OnLocationChanged Member Function

protected override void OnLocationChanged()

Definition
Line 73 of System.Windows/PaddedControl.cm


OnPaint Member Function

protected override void OnPaint(PaintEventArgs& args)

Definition
Line 128 of System.Windows/PaddedControl.cm


OnSizeChanged Member Function

protected override void OnSizeChanged(uint windowState)

Definition
Line 78 of System.Windows/PaddedControl.cm


SetChildPos Member Function

private void SetChildPos()

Definition
Line 141 of System.Windows/PaddedControl.cm