New to Telerik UI for ASP.NET Core? Download free 30-day trial

Signature Appearance

The Telerik UI Signature for ASP.NET Core component enables you to change various appearance aspects about the component.

The following example demonstrates a Signature component with custom appearance settings.

    @(Html.Kendo().Signature()
                .StrokeWidth(4)
                .BackgroundColor("#fad980")
                .Color("#212121")
                .Width(500)
                .Height(200)
                )
    <kendo-signature stroke-width="4"
                     background-color="#fad980"
                     color="#212121"
                     width="500"
                     height="200">
    </kendo-signature>

Background Color

To modify the background color of the Signature container, use its BackgroundColor configuration.

    @(Html.Kendo().Signature()
                .BackgroundColor("#fad980"))
    <kendo-signature backgroundColor="#fad980">
    </kendo-signature>

Stroke Color

You can also change the stroke color of the Signature by using its Color configuration.

    @(Html.Kendo().Signature()
                .Color("#fad980"))
    <kendo-signature color="#fad980">
    </kendo-signature>

Stroke Width

To update the stroke width of the Signature, utilize its StrokeWidth configuration.

    @(Html.Kendo().Signature()
                .StrokeWidth(4))
    <kendo-signature strokeWidth="4">
    </kendo-signature>

See Also

In this article