Skip to main content

DockPanelOptionsBase.Visibility Property

Specifies the dock panel’s visibility state.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v23.2.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public DockPanelVisibility Visibility { get; set; }

Property Value

Type Description
DockPanelVisibility

A DockPanelVisibility enumeration value.

Available values:

Name Description
Visible

The panel is visible.

Hidden

The panel is auto-hidden.

Closed

The panel is closed.

Remarks

Use this property to specify whether a dock panel is visible, closed or auto-hidden.

The following code demonstrates how to hide the Field List:

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner" 
        ... >
    <dxrud:ReportDesigner Name="designer"> 
        <dxrud:ReportDesigner.FieldListOptions>
            <dxrud:FieldListOptions Visibility="Hidden"/>
        </dxrud:ReportDesigner.FieldListOptions>
    </dxrud:ReportDesigner>
</Window>

End users can then click the Report Designer’s Windows toolbar button to change the dock panel visibility.

See Hide and Customize Dock Panels (Report Analyzer, Report Explorer and others) in the Report Designer for WPF for more information.

See Also