All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
1.1
The page you are viewing does not exist in version 1.1. This link will take you to the root page.

AutoCompleteColumn.LoadingProgressMode Property

Gets or sets whether a wait indicator is displayed automatically or manually.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

[XtraSerializableProperty]
public LoadingProgressMode LoadingProgressMode { get; set; }

Property Value

Type Description
LoadingProgressMode

Auto if a wait indicator is displayed automatically; Manual if a wait indicator is displayed manually.

Available values:

Name Description
Auto

A wait indicator is displayed when the text in the edit box changes and hidden when the collection of suggestions is updated.

Manual

A wait indicator is displayed and hidden based on the IsLoadingInProgress property value.

Remarks

In Auto mode, the editor automatically displays a wait indicator in the drop-down window when the text in the edit box changes and automatically hides it when the editor's ItemsSource collection is updated.

To show and hide the wait indicator manually, set LoadingProgressMode to Manual and use the editor's IsLoadingInProgress property. To obtain the editor, use the TextChanged event's AutoCompleteEdit argument.

Examples

The example below handles the TextChanged event to supply suggestions for the AutoCompleteColumn. Use the AutoCompleteEdit event argument to obtain the cell's editor.

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:dxg="http://schemas.devexpress.com/xamarin/2014/forms/datagrid">
    <ContentPage.Content>
        <dxg:DataGridView ItemsSource="{Binding Path=Employees}">
            <dxg:DataGridView.Columns>
                <dxg:AutoCompleteColumn FieldName="JobTitle"
                                        LoadingProgressMode="Manual"
                                        TextChanged="AutoCompleteColumn_TextChanged">                
                </dxg:AutoCompleteColumn>
            </dxg:DataGridView.Columns>
        </dxg:DataGridView>
    </ContentPage.Content>
</ContentPage>
See Also