!--a11y-->
Web
Dynpro ScrollContainer API - IWDScrollContainer 
The ScrollContainer UI element enables you to use a vertical and horizontal scroll bar for the visible UI elements Group and Tray.
·
scrollingMode
Specifies how the scroll bar appears within the UI element container.
The scrollingMode property can take the following values
represented by the enumeration type WDScrollingMode.
auto |
The scroll bar within the container is activated automatically. |
both |
A vertical and horizontal scroll bar are activated. |
none |
Scrolling within the text context is not possible. |

The properties enabled and tooltip are ignored and do not affect the browser.

The properties height and width must be specified for the ScrollContainer UI element – that is, you must assign values to these properties for the scrolling modes both and auto. If you do not want to have scroll bars for the UI element and assign the value none to the scrollingMode property, you should use another container UI element – for example, the TransparentContainer UI element.
Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
IWDUIElement |
boolean |
true |
bindable |
No |
|
IWDUIElementContainer |
String (CSS size) |
|
bindable |
No |
|
scrollingMode |
IWDScrollContainer |
WDScrollingMode |
none |
bindable |
No |
IWDUIElement |
String (TranslatableText) |
|
bindable |
No |
|
IWDUIElement |
WDVisibility |
visible |
bindable |
No |
|
IWDUIElementContainer |
String (CSS size) |
|
bindable |
No |
Method Name |
Parameter |
Return Value |
Short Description |
bindingOfScrollingMode |
|
String |
Returns the path of the context element to which the scrollingMode property is bound. Returns NULL if no binding exists. |
bindScrollingMode |
(String path) |
|
Binds the value of the scrollingMode property to the context element specified by the path. |
getScrollingMode |
|
WDScrollingMode |
Returns the value of the scrollingMode property. |
setScrollingMode |
(WDScrollingMode value) |
|
Sets the value of the scrollingMode property. |
Additional methods described in the following APIs are available using inheritance:
IWDUIElementContainer, IWDUIElement, IWDViewElement.
