User Tools

Site Tools


resizesetstrategy.htm
Navigation:  Templates > Guide to all Templates > Code Templates >====== ResizeSetStrategy ====== Previous pageReturn to chapter overviewNext page

The ResizeSetStrategy template lets you override the default resize strategy for a particular control. It is designed exclusively for the Set resize strategy embed point for a specific control. See WindowResize extension template for more information on the default resize strategies.

Insert the code template at the Set resize strategy embed point for the control for which to set the resize strategy, then complete the following prompts.

Horizontal Resize Strategy Specify how the control's width is determined when the end user resizes the window. Choose from:
Lock Width The control's design time width does not change.
Constant Right Border Locks right edge, moves left.
Vertical Resize Strategy Specify how the control's height is determined when the end user resizes the window. Choose from:
Lock Height The control's design time height does not change.
Constant Bottom Border Locks bottom edge, moves top.
Horizontal Positional Strategy Specify how the control's horizontal position is determined when the end user resizes the window. Choose from:
Lock Position The control's left edge maintains a fixed distance (the design time distance) from parent's left edge.
Fix Right The control's right edge maintains a proportional distance from parent's right edge.
Fix Left The control's left edge maintains a proportional distance from parent's left edge.
Fix Center The control's center maintains a proportional distance from parent's center.
Fix Nearest Applies Fix Right or Fix Left, whichever is appropriate.
Vertical Positional Strategy Specify how the control's vertical position is determined when the end user resizes the window. Choose from:
Lock Position The control's top edge maintains a fixed distance (the design time distance) from parent's top edge.
Fix Bottom The control's bottom edge maintains a proportional distance from parent's bottom edge.
Fix Top The control's top edge maintains a proportional distance from parent's top edge.
Fix Center The control's center maintains a proportional distance from parent's center.
Fix Nearest Applies Fix Top or Fix Bottom, whichever is appropriate.
resizesetstrategy.htm.txt · Last modified: 2021/04/15 15:57 (external edit)