Classes
AddedRemovedEvent
AlertElement
AnchorContainerElement
ArrowShape
ButtonElement
CanvasElement
CanvasManager
CheckboxElement
CheckboxSkinElement
CollectionChangedEvent
CollectionSort
ColorPickerButtonElement
ColorPickerElement
ContainerBaseElement
CursorDefinition
DataGridColumnDefinition
DataGridDataRenderer
DataGridElement
DataGridHeaderColumnDividerSkinElement
DataGridHeaderElement
DataGridHeaderItemRenderer
DataGridItemData
DataGridItemRendererBase
DataGridLabelItemRenderer
DataListData
DataListElement
DataRendererBaseElement
DataRendererLabelElement
DatePickerButtonElement
DatePickerElement
DispatcherEvent
DrawMetrics
DropdownArrowButtonSkinElement
DropdownBaseElement
DropdownElement
ElementEvent
ElementGridItemClickEvent
ElementKeyboardEvent
ElementListItemClickEvent
ElementMouseEvent
ElementMouseWheelEvent
EllipseShape
EventDispatcher
FillBase
GridContainerElement
GridContainerRowColumnDefinition
ImageElement
IpInputElement
LabelElement
LinearGradientFill
ListCollection
ListContainerElement
ProgressElement
RadioButtonElement
RadioButtonSkinElement
RoundedRectangleShape
ScrollBarElement
ScrollButtonSkinElement
ShapeBase
SkinnableElement
SolidFill
StyleableBase
StyleChangedEvent
StyleData
StyleDefinition
StyleProxy
TextAreaElement
TextElement
TextFieldElement
TextInputElement
TimeInputElement
ToggleButtonElement
ToggleButtonGroup
Tween
ViewportElement


ViewportElement

Viewport is a container that only supports one child element (usually another container).
When the child's content size is too large for the view area, the Viewport will optionally
pop up scroll bars, otherwise the child element will assume the size of the ViewportElement.
This class needs more work. More styles are needed for controlling tween behavior and allowing
scrolling even if scroll bars are disabled.

Inheritance:     ViewportElement ➞ CanvasElementStyleableBaseStyleDefinitionEventDispatcher ➞ Object

Styles
Show Inherited
Style Defined By
HorizontalScrollBarDisplay     :    String ViewportElement
Determines the behavior of the horizontal scroll bar. Allowable values are "on", "off", or "auto".
 
HorizontalScrollBarPlacement     :    String ViewportElement
Determines the position of the horizontal scroll bar. Allowable values are "top" or "bottom".
 
HorizontalScrollBarStyle     :    StyleDefinition ViewportElement
The StyleDefinition or [StyleDefinition] array to be applied to the horizontal scroll bar.
 
MeasureContentHeight     :    boolean ViewportElement
When true, the viewport's measured height will use its content element's measured height.
Use this when you want the viewport to expand when its height possible rather than scroll,
causing scrolling to happen on a parent viewport.
 
MeasureContentWidth     :    boolean ViewportElement
When true, the viewport's measured width will use its content element's measured width.
Use this when you want the viewport to expand its width when possible rather than scroll,
causing scrolling to happen on a parent viewport.
 
VerticalScrollBarDisplay     :    String ViewportElement
Determines the behavior of the vertical scroll bar. Allowable values are "on", "off", or "auto".
 
VerticalScrollBarPlacement     :    String ViewportElement
Determines the position of the vertical scroll bar. Allowable values are "left" or "right".
 
VerticalScrollBarStyle     :    StyleDefinition ViewportElement
The StyleDefinition or [StyleDefinition] array to be applied to the vertical scroll bar.
 


Events
Show Inherited


Public Functions
Show Inherited
Function Defined By
ViewportElement() [Constructor] ViewportElement
Creates new ViewportElement instance.
 
setElement(element) ViewportElement
Sets the child element of the Viewport.
  element     :    CanvasElement
The child element of the Viewport (or null).
 


Internal Members
Show Inherited


Internal Functions
Show Inherited
Function Defined By
_onViewportMouseWheelEvent(elementMouseWheelEvent) ViewportElement
Event handler for the Viewport's "wheel" event. Starts the scroll bar tween.
  elementMouseWheelEvent     :    ElementMouseWheelEvent
The ElementMouseWheelEvent to process.
 
_onViewportScrollBarChange(elementEvent) ViewportElement
Event handler for the scroll bar "changed" event. Updates the child elements position within the Viewport.
  elementEvent     :    ElementEvent
The ElementEvent to process.