GraffitiTagField

View Categories

Preview #

About #

GraffitiTagField is a simple and powerful way to allow users to select multiple members of a data set.

Enumerations #

NameValues
StackDirectionsHorizontal
Vertical

Constants #

This class exposes no constants.

Events #

NameParametersReturn TypeDescription
HeightChangedNoneNoneRaised when the Height of the control has changed due to AutoHeight = True.
ItemPresseditem as GraffitiTagNoneRaised when the user has pressed and item.
SelectionChangedNoneNoneRaised when the user has changed the selection of items within the control either by adding or removing.

Methods #

NameParametersReturn TypeDescription
Additem as GraffitiTagNoneAdds a new item to the control.
AddAtindex as Integer
item as GraffitiTag
NoneAdds the supplied item at the specified index.
IndexOfitem as GraffitiTagNoneReturns the index of the supplied item within the control’s internal array.
LastIndexNoneIntegerReturns the index of the last item within the control’s internal array.
Removeitem as GraffitiTagNoneRemoves the specified item.
RemoveAllNoneNoneRemoves all items from the control.
RemoveAtindex as IntegerNoneRemoves the item at the specified index.
SelectedItemsNoneGraffitiTag()Returns an array of the currently selected items.

Properties #

NameTypeDefault ValueDescription
AddButton (READ ONLY)GraffitiTagAuto-GeneratedProvides access to the GraffitiTag instance used for the button to search or add items.
AddFieldHintString“”Text displayed in the Add field when no user input has occurred.
AllowAddBooleanTrueWhen True and the user inputs text not found in the data set, a new GraffitiTag item will be generated — and selected — for that text.
AutoHeightBooleanFalseSetting this property to True will cause the control to automatically size itself vertically to show all selected items.
BackgroundColorColorGroupNilColor applied to the background of the component.
BorderColorColorGroupNilColor applied to the border of the component.
CornerHeightDouble5Height of the control’s corners.
CornerWidthDouble5Width of the control’s corners.
Field (READ ONLY)MobileTextFieldAuto-GeneratedControl used as the Add field.
FontFontSystem DefaultFont properties applied to all elements.
SearchFieldHintString“Search”String displayed in the search field of the popup when no user input has occurred.
TagBackgroundColorColorGroupNilBackground color applied to all tags that do not have an overriding BackgroundColor value.
TagBorderColorColorGroupNilBorder color applied to all tags that do not have an overriding BorderColor value.
TagCornerHeightDouble5Height of each tag’s corners that do not have an overriding CornerHeight value.
TagCornerWidthDouble5Width of each tag’s corners that do not have an overriding CornerWidth value.
TagTextColorColorGroupNilColor applied to the text of each tag that does not have an overriding TextColor value.