menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Signature

    Show / Hide Table of Contents

    Class Signature

    Represents the Signature UI element.

    Inheritance
    System.Object
    CommonControl
    Signature
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonControl.RaisePostBackEvent(String)
    CommonControl.OnInit(EventArgs)
    CommonControl.OnLoad(EventArgs)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class Signature : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    Signature()

    Declaration
    public Signature()

    Properties

    BackgroundColor

    Gets or sets the backgroundcolor to signature control.

    Declaration
    public string BackgroundColor { get; set; }
    Property Value
    Type Description
    System.String

    The backgroundcolor.

    BackgroundImage

    Gets or sets the backgroundimage to signature control.

    Declaration
    public string BackgroundImage { get; set; }
    Property Value
    Type Description
    System.String

    The backgroundimage.

    ClientSideOnMouseDown

    Occurs when signature control is created.

    Declaration
    public string ClientSideOnMouseDown { get; set; }
    Property Value
    Type Description
    System.String

    The client side on mousedown.

    ClientSideOnMouseMove

    Occurs when Signature control is clicked and moved.

    Declaration
    public string ClientSideOnMouseMove { get; set; }
    Property Value
    Type Description
    System.String

    The client side on mousemove.

    ClientSideOnMouseUp

    Occurs when the signature control mouse is released.

    Declaration
    public string ClientSideOnMouseUp { get; set; }
    Property Value
    Type Description
    System.String

    The client side on mouseup.

    ClientSideOnValueChanged

    Occurs when siganture value changes.

    Declaration
    public string ClientSideOnValueChanged { get; set; }
    Property Value
    Type Description
    System.String

    The client side on change.

    Enabled

    Gets or sets the signature to be enabled.

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    enabled

    Height

    Gets or sets the height of the Signature control wrapper.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    The shape height.

    IsResponsive

    Gets or sets the Responsive behaviour of the control.

    Declaration
    public bool IsResponsive { get; set; }
    Property Value
    Type Description
    System.Boolean

    Responsive

    Model

    Gets or sets the model value.

    Declaration
    public SignatureProperties Model { get; set; }
    Property Value
    Type Description
    SignatureProperties

    SaveImageFormat

    Specifies the saving image format of signature control.

    Declaration
    public SaveImageFormat SaveImageFormat { get; set; }
    Property Value
    Type Description
    SaveImageFormat

    The saving image format.

    SaveWithBackground

    Gets or sets the signature to be saved along with the background image.

    Declaration
    public bool SaveWithBackground { get; set; }
    Property Value
    Type Description
    System.Boolean

    background save

    ShowRoundedCorner

    Gets or sets the showroundedcorner of control.

    Declaration
    public bool ShowRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    Rounded corner.

    StrokeColor

    Gets or sets the strokecolor to signature control.

    Declaration
    public string StrokeColor { get; set; }
    Property Value
    Type Description
    System.String

    The strokecolor.

    StrokeWidth

    Gets or sets the maximum for stroke.

    Declaration
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The max value.

    Width

    Gets or sets the width of each shape in Signature control.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    The shape width.

    Methods

    DependentScripts()

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    GetDependentFiles()

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonControl.GetDependentFiles()

    LoadViewState(Object)

    Declaration
    protected override void LoadViewState(object state)
    Parameters
    Type Name Description
    System.Object state
    Overrides
    CommonControl.LoadViewState(Object)

    OnPreRender(EventArgs)

    Declaration
    protected override void OnPreRender(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    PostBackEventHandler(String, Dictionary<String, Object>)

    Declaration
    public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
    Parameters
    Type Name Description
    System.String EventName
    System.Collections.Generic.Dictionary<System.String, System.Object> args
    Overrides
    CommonControl.PostBackEventHandler(String, Dictionary<String, Object>)

    Render()

    Declaration
    public string Render()
    Returns
    Type Description
    System.String

    Render(HtmlTextWriter)

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonControl.Render(HtmlTextWriter)

    UpdateServerModel(Dictionary<String, Object>)

    Declaration
    public override void UpdateServerModel(Dictionary<string, object> ClientModel)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> ClientModel
    Overrides
    CommonControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    Change

    Occurs when change the signature.

    Declaration
    public event Signature.SignatureEventHandler Change
    Event Type
    Type Description
    Signature.SignatureEventHandler

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved