Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DropDownTriggerMode Enum

Lists values that specify when the ComboBox should open ist drop-down list.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum DropDownTriggerMode

#Members

Name Description
Input

The ComboBox opens its drop-down list when a user starts typing. If the AllowUserInput property is set to false, the ComboBox opens the drop-down list when a user clicks within in the input element.

Click

The ComboBox opens its drop-down list whenever a user focuses the editor with a mouse/pointer device or starts typing.

#Related API Members

The following properties accept/return DropDownTriggerMode values:

#Remarks

Use the DropDownTriggerMode property to specify when the ComboBox should open its drop-down list.

Razor
<DxComboBox Data="@Cities" 
            @bind-Value="@Value" 
            DropDownTriggerMode="DropDownTriggerMode.Click">
</DxComboBox>

@code {
  IEnumerable<string> Cities = new List<string>() {
    "London",
    "Berlin",
    "Paris",
  };

  string Value { get; set; }
}
See Also