Skip to main content

DockPanelOptionsBase.Visibility Property

Specifies the dock panel’s visibility state.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v24.1.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visibility 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.

See Also