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

IContentContainerDefaultProperties.HeaderOffset Property

Gets or sets the distance between the Content Container‘s top edge and the header.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

int? HeaderOffset { get; set; }

#Property Value

Type Description
Nullable<Int32>

An Int32 value that is the distance between the Content Container‘s top edge and the header.

#Remarks

The HeaderOffset property specifies the offset for the container header. To set this header, use the BaseContentContainer.Caption property.

If the HeaderOffset property is not specified, this container’s header offset equals the global header offset value specified via the IContentContainerProperties.HeaderOffset property. Otherwise, the HeaderOffset property overrides this global setting.

See Also