DataFilter for WinForms | ComponentOne
C1.Win.DataFilter.4.5.2 Assembly / C1.Win.DataFilter Namespace / C1DataFilter Class / FilterAutoGenerating Event

In This Topic
    FilterAutoGenerating Event (C1DataFilter)
    In This Topic
    Occurs before the filter is added to the Filters. Allows to cancel the change.
    Syntax
    'Declaration
     
    Public Event FilterAutoGenerating As EventHandler(Of FilterAutoGeneratingEventArgs)
    public event EventHandler<FilterAutoGeneratingEventArgs> FilterAutoGenerating
    Event Data

    The event handler receives an argument of type FilterAutoGeneratingEventArgs containing data related to this event. The following FilterAutoGeneratingEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets the filter.  
    Gets the data item property to which the filter applies.  
    See Also