SignatureBuilder
Defines the fluent API for configuring the Kendo UI Signature
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SignatureBuilder : WidgetBuilderBase<Signature, SignatureBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<Signature, SignatureBuilder>SignatureBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the SignatureBuilder class.
Methods
Gets or sets the background color of the signature.
public SignatureBuilder BackgroundColor(string value)
The value for BackgroundColor
Returns:Returns the current SignatureBuilder instance.
The stroke color of the signature.
public SignatureBuilder Color(string value)
The value for Color
Returns:Returns the current SignatureBuilder instance.
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 for Enable
Returns:Returns the current SignatureBuilder instance.
Configures the client-side events.
public SignatureBuilder Events(Action<SignatureEventBuilder> configurator)
The client events action.
Returns:Returns the current SignatureBuilder instance.
Sets a value controlling how the color is applied.
public SignatureBuilder FillMode(FillMode value)
The value for FillMode
Returns:Returns the current SignatureBuilder instance.
Determines the height of the signature in pixels.
public SignatureBuilder Height(double value)
The value for Height
Returns:Returns the current SignatureBuilder instance.
A value indicating whether the dotted line should be displayed in the background.
A value indicating whether the dotted line should be displayed in the background.
public SignatureBuilder HideLine(bool value)
The value for HideLine
Returns:Returns the current SignatureBuilder instance.
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 for Label
Returns:Returns the current SignatureBuilder instance.
A value indicating whether the component can be maximized
public SignatureBuilder Maximizable(bool value)
The value for Maximizable
Returns:Returns the current SignatureBuilder instance.
Defines a value indicating the scaling size of the popup signature pad
public SignatureBuilder PopupScale(double value)
The value for PopupScale
Returns:Returns the current SignatureBuilder instance.
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.
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 for Readonly
Returns:Returns the current SignatureBuilder instance.
Sets a value controlling the border radius.
public SignatureBuilder Rounded(Rounded value)
The value for Rounded
Returns:Returns the current SignatureBuilder instance.
Sets a value controlling the size of the component.
public SignatureBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current SignatureBuilder instance.
A value indicating whether to smoothen out the signature lines.
A value indicating whether to smoothen out the signature lines.
public SignatureBuilder Smooth(bool value)
The value for Smooth
Returns:Returns the current SignatureBuilder instance.
Defines how wide will the stroke be.
public SignatureBuilder StrokeWidth(double value)
The value for StrokeWidth
Returns:Returns the current SignatureBuilder instance.
A string value representing a Base64-encoded PNG image
public SignatureBuilder Value(string value)
The value for Value
Returns:Returns the current SignatureBuilder instance.
Determines the width of the signature in pixels.
public SignatureBuilder Width(double value)
The value for Width
Returns:Returns the current SignatureBuilder instance.