Signature
Kendo UI Signature component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Signature : WidgetBase, IHtmlAttributesContainer, IFormEditor
Inheritance: objectWidgetBaseSignature
Implements:
Inherited Members
Constructors
Initializes a new instance of the Signature class.
Properties
Gets or sets the background color of the signature.
public string BackgroundColor { 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.
public bool? Enable { get; set; }
Sets a value controlling how the color is applied.
public FillMode? FillMode { get; set; }
Determines the height of the signature in pixels.
public double? Height { get; set; }
A value indicating whether the dotted line should be displayed in the background.
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.
public string Label { get; set; }
A value indicating whether the component can be maximized
public bool? Maximizable { get; set; }
Defines a value indicating the scaling size of the popup signature pad
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.
public bool? Readonly { get; set; }
Sets a value controlling the size of the component.
public ComponentSize? Size { get; set; }
A value indicating whether to smoothen out the signature lines.
public bool? Smooth { get; set; }
Defines how wide will the stroke be.
public double? StrokeWidth { get; set; }
A string value representing a Base64-encoded PNG image
public string Value { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
Implements:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: