Skip to end of metadata
Go to start of metadata

Represents a signature pad control.

Definition

public class UISignaturePadView : UIViewBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UISignaturePadView Constructor() Initializes a new instance of the UISignatureCanvasView class.
UISignaturePadView Constructor(IntPtr) Initializes a new instance of the UISignatureCanvasView class.
UISignaturePadView Constructor(NSObjectFlag) Initializes a new instance of the UISignatureCanvasView class.
UISignaturePadView Constructor(CGRect) Initializes a new instance of the UISignatureCanvasView class.
UISignaturePadView Constructor(NSCoder) Initializes a new instance of the UISignatureCanvasView class.

Public Properties

ByteArray Gets or sets the byte array.
ClearButtonImage Gets or sets the clear button image.
HintAlignment Gets or sets the hint alignment.
HintColor Gets or sets the color of the hint.
HintFont Gets or sets the hint font.
HintPadding Gets or sets the hint padding.
HintText Gets or sets the hint text.
SeparatorColor Gets or sets the color of the separator.
SeparatorWidth Gets or sets the width of the separator.
SnapShot Gets or sets the snap shot.
StrokeColor Gets or sets the color of the stroke.
StrokeWidth Gets or sets the width of the stroke.

Public Methods

GetTextHeight(UIFont) Gets the height of the text.
LayoutSubviews() Called when the control needs to layout its subviews.
UpdateByte() Updates the byte.

Protected Methods

Dispose(bool) Called when this control is disposing.
Initialize() Called when this control is initializing.
InitializeView() Called when the views and subviews of this control is being configured.
OnPropertyChanged(string) Raises the property changed event.

Events

SignatureChangedEvent Occurs when [signature changed event].

Public Constructors

public UISignaturePadView()

Initializes a new instance of the UISignatureCanvasView class.

public UISignaturePadView(IntPtr handle)

Initializes a new instance of the UISignatureCanvasView class.

Parameters

handle Handle.

public UISignaturePadView(NSObjectFlag t)

Initializes a new instance of the UISignatureCanvasView class.

Parameters

t T.

public UISignaturePadView(CGRect frame)

Initializes a new instance of the UISignatureCanvasView class.

Parameters

frame Frame.

public UISignaturePadView(NSCoder coder)

Initializes a new instance of the UISignatureCanvasView class.

Parameters

coder Coder.

Public Properties

public Byte[] ByteArray { get; set; }

Gets or sets the byte array.

public string ClearButtonImage { get; set; }

Gets or sets the clear button image.

public UITextAlignment HintAlignment { get; set; }

Gets or sets the hint alignment.

public UIColor HintColor { get; set; }

Gets or sets the color of the hint.

public UIFont HintFont { get; set; }

Gets or sets the hint font.

public int HintPadding { get; set; }

Gets or sets the hint padding.

public string HintText { get; set; }

Gets or sets the hint text.

public UIColor SeparatorColor { get; set; }

Gets or sets the color of the separator.

public int SeparatorWidth { get; set; }

Gets or sets the width of the separator.

public UIImage SnapShot { get; set; }

Gets or sets the snap shot.

public UIColor StrokeColor { get; set; }

Gets or sets the color of the stroke.

public nfloat StrokeWidth { get; set; }

Gets or sets the width of the stroke.

Public Methods

public int GetTextHeight(UIFont font)

Gets the height of the text.

Parameters

font The font.

public void LayoutSubviews()

Called when the control needs to layout its subviews.

public void UpdateByte()

Updates the byte.

Protected Methods

protected void Dispose(bool disposing)

Called when this control is disposing.

Parameters

disposing If set to true disposing.

protected void Initialize()

Called when this control is initializing.

protected void InitializeView()

Called when the views and subviews of this control is being configured.

protected void OnPropertyChanged(string propertyName)

Raises the property changed event.

Parameters

propertyName Property name.

Events

public event EventHandler SignatureChangedEvent

Occurs when [signature changed event].

  • No labels