PropertyGridOptions Class
Provides the Property Grid‘s options.
Namespace: DevExpress.Xpf.Reports.UserDesigner
Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll
NuGet Package: DevExpress.Wpf.Reporting
Declaration
Related API Members
The following members return PropertyGridOptions objects:
Remarks
Use the ReportDesigner.PropertyGridOptions property to access a PropertyGridOptions class instance.
This class provides the following options:
- Visibility - specifies the Property Grid’s visibility state (visible, closed or auto-hidden).
- ShowFavoriteProperties - specifies whether to activate the Favorite Properties tab when the Report Designer runs.
- UseOfficeInspiredPropertyGrid - specifies whether to use MS Office-inspired editors.
- UseTabbedView - specifies whether to group properties into tabs or display all properties in a single tab.
- ShowExpressionsInSeparateTab - specifies whether to show the Expressions tab that contains all properties for which users can define expressions.
The following code demonstrates how to access and specify these options:
<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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PropertyGridOptions class.
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.