DxInputDataEditorBase<T>.InputCssClass Property
Specifies CSS classes applied to the editor’s input.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v23.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public string InputCssClass { get; set; }
Property Value
Type | Description |
---|---|
String | The input’s CSS class names separated by a space. |
Remarks
Use the InputCssClass
property to apply custom CSS classes to the component input.
The following example applies the .bg-secondary contextual class to the input’s background color and hides the input’s border:
<DxMaskedInput @bind-Value="@Value"
InputCssClass="bg-secondary border-0"
Mask="(999) 000-00-00" >
</DxMaskedInput>
@code {
string Value { get; set; }
}
For more information about how to apply custom CSS classes to DevExpress Blazor components, refer to the following help topic: CSS Classes.
See Also