PropertyGridOptions Class
Provides the Property Grid‘s options.
Namespace: DevExpress.Xpf.Reports.UserDesigner
Assembly: DevExpress.Xpf.ReportDesigner.v22.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 in the Report Designer, Properties Window and Use Favorite Properties in the Report Designer for more information.