DxListBox<TData, TValue>.Enabled Property
Specifies whether the List Box can respond to user interactions.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(true)]
[Parameter]
public bool Enabled { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Remarks
When the Enabled
property is set to false
, the editor does not respond to user interactions and users cannot change the editor’s value. In this mode, the component cannot be focused or navigated.
<DxListBox Data="@Cities"
@bind-Values="@Values"
Enabled="false">
</DxListBox>
@code {
IEnumerable<string> Cities = new List<string>() {
"London",
"Berlin",
"Paris",
};
IEnumerable<string> Values { get; set; }
}
Implements
DevExpress.Blazor.IListEditorBase<TData, TValue>.Enabled
See Also