RadSignature
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ClientScriptResource("Telerik.Web.UI.RadSignature", "Telerik.Web.UI.Signature.Scripts.RadSignature.js")]
[TelerikToolboxCategory("Editors")]
[ToolboxBitmap(typeof(RadSignature), "Toolbox.Icons.Signature.png")]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(Html5Signature))]
[ClientScriptResource("Telerik.Web.UI.RadSignature", "Telerik.Web.UI.Signature.Scripts.RadSignature.js")]
[EmbeddedSkin("Signature", typeof(RadSignature))]
[EmbeddedSkin("Signature", "Default", typeof(RadSignature))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Classic, typeof(RadSignature))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Lightweight, typeof(RadSignature))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Mobile, typeof(RadSignature))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Classic, typeof(RadSignature))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadSignature))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Mobile, typeof(RadSignature))]
public class RadSignature : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadSignature
Implements:
Inherited Members
Constructors
public RadSignature()
Properties
Gets or sets the background color of the signature.
public override Color BackColor { get; set; }
Overrides:
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public SignatureClientEvents ClientEvents { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Sets a value controlling how the color is applied. Can also be set to the following string values: "solid"; "flat"; "outline" or "none".
public RadSignatureFillMode FillMode { get; set; }
The stroke color of the signature.
public override Color ForeColor { get; set; }
Overrides:
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 border radius. Can also be set to the following string values: "small"; "medium"; "large" or "none".
public RadSignatureRounded Rounded { get; set; }
Sets a value controlling the padding of the RadSignature DIV wrapper element. Can also be set to the following string values: "small"; "medium"; "large" or "none".
public RadSignatureSize 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; }
protected override bool SupportsRenderingMode { get; }
Overrides:
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Methods
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides: