XtraReport.FilterComponentProperties Event
Occurs every time the Property Grid refreshes its item list in the End-User Designer.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v18.2.dll
Declaration
public static event EventHandler<FilterComponentPropertiesEventArgs> FilterComponentProperties
Public Shared Event FilterComponentProperties As EventHandler(Of FilterComponentPropertiesEventArgs)
Event Data
The FilterComponentProperties event's data class is FilterComponentPropertiesEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Component | Gets a component for which an event has occurred. |
Properties | Provides access to properties of the current component. |
Remarks
Handle the FilterComponentProperties event to hide some of the properties of either a particular control, or a group of controls in the End-User Designer. When hiding a particular property, it disappears both from the Property Grid and this control smart tag.
This event is raised only for report controls (i.e., the XRControl class descendants).
Because this is a static event, you will need to write an event handler common to all End-User Designer forms used in your application. The best way of handling a static event is to handle it only once in a static constructor of a class, or in the application's entry point static procedure (e.g., Main).
See the following documents for code samples:
- WinForms - Hide Properties from End-User Report Designer
- WPF - Hide Properties from the Report Designer