TagTextBox
Wisej.Web.TagTextBox
Last updated
Wisej.Web.TagTextBox
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
Boolean: Returns or sets whether the water should disappear when there is at least one tag.
Int32: Returns or sets the maximum number of tags allowed in the control. When this limit is reached, the control will fire the TagRejected event and will not add the tag. The default is 0 = unlimited.
Int32: Returns or sets the maximum width in pixels of the tag widgets displayed on the client. When the content exceeds this limit, it will show an ellipses.
Int32: Returns or sets the minimum number of characters that should fit in the editable portion of the control before it wraps to a new line.
String: Returns the text of the selected tag.
Int32: Returns the length of the selected tag.
Int32: Returns the position of the selected tag.
Char: Returns or sets the character used to separate the tags.
Boolean: Returns or sets whether to show a tooltip with the full content of the tag text when the mouse hovers over the tag element.
Int32: Returns the number of tags in the control.
Selects the specified tag, if it exists. If the tag is selected successfully, it will fire the TagSelected event.
Parameter | Type | Description |
---|---|---|
tag | Text of the tag to select. |
EventHandler Fired when the value of SeparatorChar changes.
TagTextBoxEventHandler Fired when the user adds new tag is added to the control.
TagTextBoxMousEventHandler Fired when the user clicks (or taps) on a tag outside of the close icon.
TagTextBoxMousEventHandler Fired when the user double clicks (or double taps) on a tag outside of the close icon.
TagTextBoxEventHandler Fired when the user tries to add a tag that already exists or the maximum number of allowed tags set in MaxTagCount is reached.
TagTextBoxEventHandler Fired when the user removes a tag from the control.
TagTextBoxRenderEventHandler Fired when the control needs to render the tags in the Text property.
Use this event to change the visual aspect of each tag on the client.
TagTextBoxEventHandler Fires when the user selects a tag.
Name | Description |
---|---|
Bindable components implement this interface. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |