Back to Devexpress

ReportDesigner.PropertyGridOptions Property

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-reportdesigner-a3f13d9a.md

latest4.8 KB
Original Source

ReportDesigner.PropertyGridOptions Property

Provides access to the Property Grid‘s options.

Namespace : DevExpress.Xpf.Reports.UserDesigner

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

NuGet Package : DevExpress.Wpf.Reporting

Declaration

csharp
public PropertyGridOptions PropertyGridOptions { get; set; }
vb
Public Property PropertyGridOptions As PropertyGridOptions

Property Value

TypeDescription
PropertyGridOptions

The Property Grid’s options.

|

Remarks

This property allows you to specify the following Property Grid options:

The following code demonstrates how to access and specify these options:

xaml
<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.PropertyGridOptions>
            <dxrud:PropertyGridOptions UseTabbedView="False" ShowFavoriteProperties="True"/>
        </dxrud:ReportDesigner.PropertyGridOptions>
    </dxrud:ReportDesigner>
</Window>

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PropertyGridOptions 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-customize-dock-panels-in-report-designer/CS/MainWindow.xaml#L20

xml
<!--Do not group properties into tabs and show favorite properties.-->
<dxrud:ReportDesigner.PropertyGridOptions>
    <dxrud:PropertyGridOptions UseTabbedView="False" ShowFavoriteProperties="True"/>

See Also

ReportDesigner Class

ReportDesigner Members

DevExpress.Xpf.Reports.UserDesigner Namespace