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.v20.1.dll

Declaration

Returns

Type Description
Boolean

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