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

Kendo UI Signature component

Definition

Constructors

Initializes a new instance of the Signature class.

C#
public Signature(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

Gets or sets the background color of the signature.

C#
public string BackgroundColor { get; set; }

The stroke color of the signature.

C#
public string Color { get; set; }

If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.

C#
public bool? Enable { get; set; }

Sets a value controlling how the color is applied.

C#
public FillMode? FillMode { get; set; }

Determines the height of the signature in pixels.

C#
public double? Height { get; set; }

A value indicating whether the dotted line should be displayed in the background.

C#
public bool? HideLine { get; set; }

Specifies the label that will be rendered on the k-signature-canvas element of the component with the aria-label attribute.

C#
public string Label { get; set; }

A value indicating whether the component can be maximized

C#
public bool? Maximizable { get; set; }

Defines a value indicating the scaling size of the popup signature pad

C#
public double? PopupScale { get; set; }

If set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input.

C#
public bool? Readonly { get; set; }

Sets a value controlling the border radius.

C#
public Rounded? Rounded { get; set; }

Sets a value controlling the size of the component.

C#
public ComponentSize? Size { get; set; }

A value indicating whether to smoothen out the signature lines.

C#
public bool? Smooth { get; set; }

Defines how wide will the stroke be.

C#
public double? StrokeWidth { get; set; }

A string value representing a Base64-encoded PNG image

C#
public string Value { get; set; }

Determines the width of the signature in pixels.

C#
public double? Width { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

Implements: IFormEditor.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)