Since: 0.9.4

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.

Types

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

Examples

var api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
var container = api.container;
var container = $('#alphaTab').alphaTab('container');
var api = new AlphaTabApi<MyControl>(...);
var container = api.Container;