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

ThemedWindowHeaderItemsControlBase.AllowHeaderItems Attached Property

Specifies whether the window allows displaying header items. This is an attached property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

#Returns

Type Default Description
Boolean true

true if a window allows displaying header items; otherwise, false.

#Remarks

The following code sample disables header items displayed in the ThemedWindow:

<dx:ThemedWindow
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  dx:ThemedWindowHeaderItemsControlBase.AllowHeaderItems="False">
  <dx:ThemedWindow.HeaderItems>
    <dx:HeaderItemControl Content="HeaderItemControl"/>
    <dx:SimpleButton Content="SimpleButton"/>
    <dxe:TextEdit NullText="Text Edit" MinWidth="200"/>
  </dx:ThemedWindow.HeaderItems>
</dx:ThemedWindow>
See Also