container
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​
- JavaScript
- jQuery
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
const container = api.container;
const container = $('#alphaTab').alphaTab('container');
var api = new AlphaTabApi<MyControl>(...);
var container = api.Container;
val api = AlphaTabApi<MyControl>(...)
val container = api.container;