DxComboBox<TData, TValue>.ReadOnly Property
Specifies whether read-only mode is active.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v20.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(false)]
[Parameter]
public override bool ReadOnly { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | true to activate read-only mode; otherwise, false. |
Remarks
Set the ReadOnly property to true to activate read-only mode. <DxComboBox>
allows you to display the value, but does not allow users to change it.
<DxComboBox ReadOnly="true"
Data="@CountryData.Countries"
@bind-Value="@CurrentCountry">
</DxComboBox>
See Also