Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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