Back to Devexpress

GroupBox.TitleVisibility Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-groupbox-efb691b0.md

latest2.9 KB
Original Source

GroupBox.TitleVisibility Property

Gets or sets whether the GroupBox displays a title. This is a dependency property.

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public Visibility TitleVisibility { get; set; }
vb
Public Property TitleVisibility As Visibility

Property Value

TypeDescription
Visibility

A Visibility value that specifies the title’s visibility.

|

Remarks

A GroupBox’s title displays the following visual elements:

  • A header, specified by the Header property. The HeaderTemplate property allows you to specify a DataTemplate, used to render the header.
  • The Maximize Element, that is visible if the GroupBox.MaximizeElementVisibility option is set to Visible.
  • The Minimize Element, that is visible if the GroupBox.MinimizeElementVisibility option is set to Visible.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TitleVisibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-wpf-drill-through/CS/Viewer/MainWindow.xaml#L21

xml
<dxlc:LayoutGroup Orientation="Horizontal" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
    <dxlc:GroupBox TitleVisibility="Hidden" HorizontalAlignment="Left" >
        <dxlc:LayoutGroup ItemLabelsAlignment="Local" Orientation="Vertical" Width="150" >

See Also

MaximizeElementVisibility

MinimizeElementVisibility

GroupBox Class

GroupBox Members

DevExpress.Xpf.LayoutControl Namespace