Back to Devexpress

PropertyGridOptions Class

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-92aa9c6b.md

latest5.2 KB
Original Source

PropertyGridOptions Class

Provides 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 class PropertyGridOptions :
    DockPanelOptionsBase
vb
Public Class PropertyGridOptions
    Inherits DockPanelOptionsBase

The following members return PropertyGridOptions objects:

Remarks

Use the ReportDesigner.PropertyGridOptions property to access a PropertyGridOptions class instance.

This class provides the following 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 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.

reporting-wpf-customize-dock-panels-in-report-designer/CS/MainWindow.xaml#L21

xml
<dxrud:ReportDesigner.PropertyGridOptions>
    <dxrud:PropertyGridOptions UseTabbedView="False" ShowFavoriteProperties="True"/>
</dxrud:ReportDesigner.PropertyGridOptions>

Inheritance

Object DispatcherObject DependencyObject Freezable DockPanelOptionsBase PropertyGridOptions

See Also

PropertyGridOptions Members

DevExpress.Xpf.Reports.UserDesigner Namespace