Show TOC

 AccordionItemLocate this document in the navigation structure

An AccordionItem is a single item of the Accordion.

Description of the Properties
  • dragData

    The text representation of the data to be transported along the way to the drop target. This property allows to assign different drag data to individual AccordionIitems.

  • enabled

    Specifies whether the AccordionItem is enabled (active) or not. If it is disabled, it is displayed in grey and cannot be selected.

  • hasContentPadding

    Determines whether the content area is surrounded by an inner indent.

  • imageSource

    defines the path to the image source. More information: Specifying the Image Source

  • readOnly

    Specifies whether the user can edit the AccordionItem's title.

  • showToggleIcon

    Specifies whether the small triangle that indicates the ability to toggle, is displayed.

  • textDirection

    Specifies the text direction. The textDirection property can take the following values and is represented by enumeration type WDTextDirection.

    inherit

    The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.

    ltr

    The text runs from left to right.

    rtl

    The text runs from right to left.

  • title

    Specifies the AccordionItem's title.

  • tooltip

    Specifies the text that is displayed when the user places the cursor on the AccordionItem.

  • visible

    This property specifies the visibility of the AccordionItem. visible is of type WDVisibility and can take the following values:

    • visible. The UI element is displayed on the screen.
    • none. The UI element is not visible on the screen and takes up no space.
    • notYet. The UI element is not yet visible in its view and is treated like NONE. It can be made visible by personalization. This can be used to ship hidden parts of a screen which can then be made visible on demand.
    • always. A UI element is always visible and cannot be hidden by personalization.
    • blank. The UI element is not visible on the screen but takes up space.
      Note

      This value should not be used for security reasons. Use none instead.

Properties Overview
Name Interface Type Initial Value Bindable

contextMenuBehaviour

IWDContextMenuProvider

WDContextMenuBehaviour

inherit

not bindable

contextMenuId

IWDContextMenuProvider

String

 

not bindable

dragData

IWDAccordionItem

String

 

bindable

enabled

IWDAccordionItem

boolean

true

bindable

fireExitEvent

IWDViewElement

boolean

false

not bindable

hasContentPadding

IWDAccordionItem

boolean

true

bindable

imageSource

IWDAccordionItem

String

 

bindable

readOnly

IWDAccordionItem

boolean

true

bindable

showToggleIcon

IWDAccordionItem

boolean

true

bindable

textDirection

IWDAccordionItem

WDTextDirection

inherit

bindable

title

IWDAccordionItem

String

 

bindable

tooltip

IWDAccordionItem

String

 

bindable

visible

IWDAccordionItem

WDVisibility

visible

bindable

More information: Common UI Element Properties