HtmlForgeX

API Reference

Class

TablerSignaturePad

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Implements
Modifiers sealed

Tabler-style signature pad powered by signature_pad. Renders a canvas with an associated hidden input for normal form submission.

Inheritance

Constructors

public TablerSignaturePad(String name) #

Initializes a new signature pad bound to a hidden input with the specified name.

Parameters

name System.String requiredposition: 0
Form field name for the hidden input that stores the signature data URL.

Methods

public TablerSignaturePad Height(Int32 pixels) #
Returns: TablerSignaturePad

Sets the visible height of the pad (CSS pixels).

Parameters

pixels System.Int32 requiredposition: 0
public TablerSignaturePad Hint(String text) #
Returns: TablerSignaturePad

Adds non-error help text below the control.

Parameters

text System.String requiredposition: 0
public TablerSignaturePad Label(String text) #
Returns: TablerSignaturePad

Sets the label text displayed above the pad.

Parameters

text System.String requiredposition: 0
RegisterLibraries() #
public TablerSignaturePad Required(Boolean required = true) #
Returns: TablerSignaturePad

Marks the field as required (visual only; server-side validation recommended).

Parameters

required System.Boolean = true optionalposition: 0
public TablerSignaturePad Settings(Action<SignaturePadSettings> configure) #
Returns: TablerSignaturePad

Groups less-common options under a single fluent entry point to keep IntelliSense lean.

Parameters

configure System.Action{HtmlForgeX.SignaturePadSettings} requiredposition: 0
public override String ToString() #
Returns: String
public TablerSignaturePad Validation(ValidationState state, String message) #
Returns: TablerSignaturePad

Sets validation state and message for the field.

Parameters

state HtmlForgeX.ValidationState requiredposition: 0
message System.String requiredposition: 1
public TablerSignaturePad Value(String dataUrl) #
Returns: TablerSignaturePad

Sets an initial signature data URL (PNG/SVG).

Parameters

dataUrl System.String requiredposition: 0