Skip to main content

container

since 0.9.4

Description​

Gets the UI container that represents the element on which alphaTab was initialized. Note that this is not the raw instance, but a UI framework specific wrapper for alphaTab.

containerJavaScript
alphaTab('container')jQuery
Container.net
containerAndroid

Types​

AlphaTab.UI.IContainerAll
AlphaTab.Platform.CSharp.WinForms.ControlContainer.net WinForms
AlphaTab.Platform.CSharp.Wpf.FrameworkElementContainer.net WPF
alphaTab.platform.android.AndroidRootViewContainerAndroid
alphaTab.platform.javascript.HtmlElementContainerJavaScript

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
const container = api.container;