Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridVirtualizingCollectionView Class / AbortQueryAutoFilterDistinctValues Event


In This Topic
    AbortQueryAutoFilterDistinctValues Event (DataGridVirtualizingCollectionView)
    In This Topic
    Raised when a QueryAutoFilterDistinctValues event has been raised for a page of data that is no longer needed and whose corresponding AsyncQueryInfo object's EndQuery method has not yet been called, allowing the pending operation to be canceled and preventing useless processing on the data server.
    Syntax
    'Declaration
     
    <NullableAttribute(Mono.Cecil.CustomAttributeArgument[])>
    Public Event AbortQueryAutoFilterDistinctValues As EventHandler(Of QueryAutoFilterDistinctValuesEventArgs)
    'Usage
     
    Dim instance As DataGridVirtualizingCollectionView
    Dim handler As EventHandler(Of QueryAutoFilterDistinctValuesEventArgs)
     
    AddHandler instance.AbortQueryAutoFilterDistinctValues, handler
    [Nullable(Mono.Cecil.CustomAttributeArgument[])]
    public event EventHandler<QueryAutoFilterDistinctValuesEventArgs> AbortQueryAutoFilterDistinctValues
    Event Data

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

    PropertyDescription
    Gets an AsyncQueryInfo that provides the information necessary to retrieve the next batch of items.  
    Gets the DataGridVirtualizingCollectionView to which the grid is bound.  
    true if the event is asynchronous, otherwise false. By default, false. (Inherited from Xceed.Wpf.DataGrid.AsyncQueryEventArgs)
    Gets the DataGridItemProperty for which distinct values need to be returned.  
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also