TopLevel.

TopLevel(ITopLevelImpl, IAvaloniaDependencyResolver) Constructor

Summary

Initializes a new instance of the TopLevel class.
Namespace
Avalonia.Controls
Containing Type
TopLevel

Syntax

public TopLevel(ITopLevelImpl impl, IAvaloniaDependencyResolver dependencyResolver)

Parameters

Name Type Description
impl ITopLevelImpl The platform-specific window implementation.
dependencyResolver IAvaloniaDependencyResolver The dependency resolver to use. If null the default dependency resolver will be used.

Return Value

Type Description
void