Skip to main content

Look and Feel Offsets

The ExpressLayout Control allows you to control the rules specifying offsets between elements. Use the look and feel style’s Offsets property to set appropriate vertical and horizontal offsets for layout elements, to which this style is applied.

This object allows you to change the default values of different offsets, which calculate the distances between different elements (controls, captions, items, groups) within the ExpressLayout Control.

Default offset values are similar to those recommended by the Microsoft UI guidelines. These values are calculated, not in pixels, but in DLU – dialog units. The pixel value of a DLU depends upon the current font used in the control.

The following image demonstrates the use of offsets.

See Also