Skip to main content

DxDataEditor<T>.CssClass Property

Specifies the name of the CSS class applied to the editor.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(null)]
[Parameter]
public override string CssClass { get; set; }

Property Value

Type Default Description
String null

The CSS class name.

Remarks

To define the appearance of an editor, assign a CSS class name to the CssClass property:

<style>
    .my-style {
        font-weight: 700;
    }
</style>

<DxCheckBox Checked="true" CssClass="my-style">Check</DxCheckBox>

Editors with custom CSS

See Also