|
|
|
SftBox.ControlAlign Property |
Defines the control's alignment during resizing.
Syntax
VB.NET |
Align = object.ControlAlign As SftBoxControlAlignConstants |
||
VB |
Align = object.ControlAlign As SftBoxControlAlignConstants |
||
C#.NET |
SftBoxControlAlignConstants Align = object.ControlAlign; |
||
VC++ |
enum SftBoxControlAlignConstants Align = object->ControlAlign;
|
||
C |
HRESULT object->get_ControlAlign(enum SftBoxControlAlignConstants* Align); |
||
Delphi |
Align := object.ControlAlign : TOleEnum; |
||
VB.NET |
object.ControlAlign = Align As SftBoxControlAlignConstants |
||
VB |
object.ControlAlign = Align As SftBoxControlAlignConstants |
||
C#.NET |
SftBoxControlAlignConstants object.ControlAlign = Align; |
||
VC++ |
enum SftBoxControlAlignConstants object->ControlAlign = Align;
|
||
C |
HRESULT object->put_ControlAlign(enum SftBoxControlAlignConstants Align); |
||
Delphi |
object.ControlAlign := Align : TOleEnum; |
object
A SftBox object.
Align
Defines the control alignment during resizing of the control.
Align |
Value |
Description |
0 |
Keeps the top edge at the same location when the control resizes itself. |
|
1 |
Keeps the center of the control at the same location when the control resizes itself. |
|
2 |
Keeps the bottom edge at the same location when the control resizes itself. |
Comments
The ControlAlign property defines the control's alignment during resizing.
The control can resize itself for a number of reasons. For example, when variable height items are used the control's height varies. If column headers are enabled or disabled dynamically, the control's height also needs to be adjusted. When the control is resized, the ControlAlign property determines how the control is aligned after its new size is determined.