PaddedControl Class

Constructors & Destructor | Member Functions | Member Variables

Definition

Line 43 of System.Windows/PaddedControl.cm

Inheritance

Constructors & Destructor

public explicit 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 Padding DefaultPadding() const
internal override Control* GetFirstEnabledTabStopControl() const
internal override Control* GetLastEnabledTabStopControl() const
protected override bool IsDecoratorControl() const
protected override void OnChildContentChanged(ControlEventArgs& args)
protected override void OnChildContentLocationChanged(ControlEventArgs& args)
protected override Result<bool> OnChildContentSizeChanged(ControlEventArgs& args)
protected override Result<bool> OnChildGotFocus(ControlEventArgs& args)
protected override Result<bool> OnChildLostFocus(ControlEventArgs& args)
protected override Result<bool> OnLocationChanged()
protected override Result<bool> OnPaint(PaintEventArgs& args)
protected override Result<bool> OnSizeChanged(SizeChangedEventArgs& args)
private Result<bool> SetChildPos()

Member Variables

private Control* child
private ComponentContainer container
private Padding padding

Constructor& Destructor Details

PaddedControl Constructor

public explicit PaddedControl(Control* child)

Definition
Line 62 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 66 of System.Windows/PaddedControl.cm


Member Function Details

DefaultPadding Member Function

public override Padding DefaultPadding()

Definition
Line 89 of System.Windows/PaddedControl.cm


GetFirstEnabledTabStopControl Member Function

internal override Control* GetFirstEnabledTabStopControl()

Definition
Line 178 of System.Windows/PaddedControl.cm


GetLastEnabledTabStopControl Member Function

internal override Control* GetLastEnabledTabStopControl()

Definition
Line 182 of System.Windows/PaddedControl.cm


IsDecoratorControl Member Function

protected override bool IsDecoratorControl()

Definition
Line 85 of System.Windows/PaddedControl.cm


OnChildContentChanged Member Function

protected override void OnChildContentChanged(ControlEventArgs& args)

Definition
Line 111 of System.Windows/PaddedControl.cm


OnChildContentLocationChanged Member Function

protected override void OnChildContentLocationChanged(ControlEventArgs& args)

Definition
Line 120 of System.Windows/PaddedControl.cm


OnChildContentSizeChanged Member Function

protected override Result<bool> OnChildContentSizeChanged(ControlEventArgs& args)

Definition
Line 130 of System.Windows/PaddedControl.cm


OnChildGotFocus Member Function

protected override Result<bool> OnChildGotFocus(ControlEventArgs& args)

Definition
Line 143 of System.Windows/PaddedControl.cm


OnChildLostFocus Member Function

protected override Result<bool> OnChildLostFocus(ControlEventArgs& args)

Definition
Line 156 of System.Windows/PaddedControl.cm


OnLocationChanged Member Function

protected override Result<bool> OnLocationChanged()

Definition
Line 94 of System.Windows/PaddedControl.cm


OnPaint Member Function

protected override Result<bool> OnPaint(PaintEventArgs& args)

Definition
Line 169 of System.Windows/PaddedControl.cm


OnSizeChanged Member Function

protected override Result<bool> OnSizeChanged(SizeChangedEventArgs& args)

Definition
Line 103 of System.Windows/PaddedControl.cm


SetChildPos Member Function

private Result<bool> SetChildPos()

Definition
Line 187 of System.Windows/PaddedControl.cm