DxDropDownBase<T, JSProxyType>.ShowDropDown() Method
Displays an editor’s drop-down window.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public void ShowDropDown()
Remarks
Call the ShowDropDown
method to open the editor’s drop-down window. The method does not take the DropDownVisible property’s value into account.
<DxTagBox Data="@Cities" @bind-Values="@Values" @ref=MyTagBox />
<DxButton Text="Show Drop Down Window" Click=OnButtonClick />
@code {
DxTagBox<string,string> MyTagBox { get; set; }
IEnumerable<string> Cities = new List<string>() {
"London",
"Berlin",
"Paris",
};
IEnumerable<string> Values { get; set; }
void OnButtonClick() {
MyTagBox.ShowDropDown();
}
}
See Also