Skip to main content

DxMemo.TextAreaCssClass Property

Specifies CSS classes applied to the Memo‘s text area.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string TextAreaCssClass { get; set; }

Property Value

Type Description
String

The text area’s CSS class names separated by a space.

Remarks

Use the TextAreaCssClass property to apply custom CSS classes to the Memo’s text area. The following example demonstrates how to apply a custom style (my-style) to the Memo’s text area:

<style>
    .my-style {
        opacity: 0.5;
    }
</style>

<DxMemo @bind-Text="TextValue" TextAreaCssClass="my-style"></DxMemo>

@code {
    string TextValue { get; set; } = "Prepare 2020 Marketing Plan: We need to double revenues in 2020 and our marketing strategy is going to be key here. " +
            "R&D is improving existing products and creating new products so we can deliver great AV equipment to our customers. " +
            "Robert, please make certain to create a PowerPoint presentation for the members of the executive team.";
}

Memo - Text Area CSS Class

For more information about how to apply custom CSS classes to DevExpress Blazor components, refer to the following help topic: CSS Classes.

See Also