GraffitiAccordion

Preview #

About #

GraffitiAccordion is a beautiful, animated class that allows developers to embed multiple containers within their UI and easily switch between them.

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

NameParametersReturn TypeDescription
SelectionChangedNoneNoneRaised when the currently visible container has changed.

Methods #

NameParametersReturn TypeDescription
Additem as GraffitiAccordionItemNoneAdds a new item to the control.
AddAtindex as Integer
item as GraffitiAccordionItem
NoneAdds a new item to the control at the specified index.
ItemAtindex as IntegerGraffitiAccordionItemReturns the container at the specified index in the internal array.
IndexOfitem as GraffitiAccordionItemIntegerReturns the index of the specified item within the internal array.
LastIndexNoneIntegerReturns the last index of items in the internal array.
Removeitem as GraffitiAccordionItemNoneRemoved the specified item and its associated item.
RemoveAllNoneNoneRemove all currently added items.
RemoveAtindex as IntegerNoneRemoves the item at the specified index.

Properties #

NameTypeDefault ValueDescription
AnimationEnabledBooleanTrueDetermines whether container movement is animated.
AnimationLengthInteger1500Length of animations in milliseconds.
BackgroundColorColorGroupNilColor drawn to the background of the component.
BadgeFontFontNilFont used to draw the text within item badges.
BorderColorColorGroupNilColor used to draw the component’s border.
BorderRadiusInteger0Height and width of corner radius.
ExpanderColorActiveColorGroupNilColor used to draw the expander icon of the currently active item.
ExpanderColorInactiveColorGroupNilColor used to draw the expander icon of inactive items.
ExpanderIconActivePictureNilPicture drawn as the expander icon for the currently active item.
ExpanderIconInactivePictureNilPicture drawn as the expander icon for inactive items.
ExpanderVisibleBooleanTrueDetermines whether expander icons are drawn.
HeaderHeightDouble26Height of item headers drawn in the display.
SelectedItemGraffitiAccordionItemNilCurrently selected item.