Back to Devexpress

DataViewBase.FilterEditorCreated Event

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-c0bd5dbb.md

latest4.8 KB
Original Source

DataViewBase.FilterEditorCreated Event

Fires after the embedded FilterControl has been created. This event is not fired for the new FilterEditorControl.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public event FilterEditorEventHandler FilterEditorCreated
vb
Public Event FilterEditorCreated As FilterEditorEventHandler

Event Data

The FilterEditorCreated event's data class is FilterEditorEventArgs. The following properties provide information specific to this event:

PropertyDescription
FilterControlGets the Filter Editor.
HandledGets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
SourceGets the View that raised the event.

The event data class exposes the following methods:

MethodDescription
InvokeEventHandler(Delegate, Object)When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
OnSetSource(Object)When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.

Remarks

Note

The FilterEditorCreated is not fired for the new FilterEditorControl.

Refer to the Filter Editor article for information on how to customize the new FilterEditorControl.

The FilterEditorCreated event is fired after the Filter Editor has been created, before it is displayed on screen. Handle this event to prevent the editor from being displayed, or customize its settings (FilterEditorEventArgs.FilterControl).

See Also

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace