SignatureBuilder
Defines the fluent API for configuring the Kendo Signature for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SignatureBuilder : WidgetBuilderBase<Signature, SignatureBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<Signature, SignatureBuilder>SignatureBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the Signature class.
Methods
Gets or sets the background color of the signature.
public SignatureBuilder BackgroundColor(string value)
The value that configures the backgroundcolor.
Returns:The stroke color of the signature.
public SignatureBuilder Color(string value)
The value that configures the color.
Returns: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 SignatureBuilder Enable(bool value)
The value that configures the enable.
Returns:Configures the client-side events.
public SignatureBuilder Events(Action<SignatureEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied. Can also be set to the following string values: "solid"; "flat"; "outline" or "none".
public SignatureBuilder FillMode(FillMode value)
The value that configures the fillmode.
Returns:Determines the height of the signature in pixels.
public SignatureBuilder Height(double value)
The value that configures the height.
Returns:A value indicating whether the dotted line should be displayed in the background.
public SignatureBuilder HideLine(bool value)
The value that configures the hideline.
Returns:Specifies the label that will be rendered on the k-signature-canvas element of the component with the aria-label attribute.
public SignatureBuilder Label(string value)
The value that configures the label.
Returns:A value indicating whether the component can be maximized
public SignatureBuilder Maximizable(bool value)
The value that configures the maximizable.
Returns:Defines a value indicating the scaling size of the popup signature pad
public SignatureBuilder PopupScale(double value)
The value that configures the popupscale.
Returns: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 SignatureBuilder Readonly(bool value)
The value that configures the readonly.
Returns:Sets a value controlling the border radius. Can also be set to the following string values: "small"; "medium"; "large"; "full" or "none".
public SignatureBuilder Rounded(Rounded? value)
The value that configures the rounded.
Returns:Sets a value controlling size of the component. Can also be set to the following string values: "small"; "medium"; "large" or "none".
public SignatureBuilder Size(ComponentSize? value)
The value that configures the size.
Returns:A value indicating whether to smoothen out the signature lines.
public SignatureBuilder Smooth(bool value)
The value that configures the smooth.
Returns:Defines how wide will the stroke be.
public SignatureBuilder StrokeWidth(double value)
The value that configures the strokewidth.
Returns:A string value representing a Base64-encoded PNG image
public SignatureBuilder Value(string value)
The value that configures the value.
Returns:Determines the width of the signature in pixels.
public SignatureBuilder Width(double value)
The value that configures the width.
Returns: