Class Token
Token class.
Inheritance
System.Object
Token
Namespace: Syncfusion.SfAutoComplete.iOS
Assembly: Syncfusion.SfAutoComplete.iOS.dll
Syntax
public class Token : UIView
Constructors
Token(Boolean)
Initializes a new instance of the Token class.
Declaration
public Token(bool templateApplied)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | templateApplied | If set to |
Properties
Image
Gets or sets the image.
Declaration
public string Image { get; set; }
Property Value
Type | Description |
---|---|
System.String | The image. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
TokenCustomView
Gets or sets the token custom view.
Declaration
public UIView TokenCustomView { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIView | The token custom view. |
Methods
add_TokenRemoved(Token.DidTokenRemoved)
Declaration
public void add_TokenRemoved(Token.DidTokenRemoved value)
Parameters
Type | Name | Description |
---|---|---|
Token.DidTokenRemoved | value |
LayoutSubviews()
Layouts the sub views
Declaration
public override void LayoutSubviews()
remove_TokenRemoved(Token.DidTokenRemoved)
Declaration
public void remove_TokenRemoved(Token.DidTokenRemoved value)
Parameters
Type | Name | Description |
---|---|---|
Token.DidTokenRemoved | value |
Events
TokenRemoved
Occurs when token removed.
Declaration
public event Token.DidTokenRemoved TokenRemoved
Event Type
Type |
---|
Token.DidTokenRemoved |