Skip to main content

AvaloniaView Class

Definition​

Assembly:Avalonia.Browser
Package:Avalonia.Browser
public class AvaloniaView

Inheritance: object -> AvaloniaView

Constructors​

NameDescription
AvaloniaView (2 overloads)No summary available.

AvaloniaView overloads​

AvaloniaView Constructor​

public AvaloniaView(System.Runtime.InteropServices.JavaScript.JSObject host)
Parameters​

host System.Runtime.InteropServices.JavaScript.JSObject

JSObject holding a div element where avalonia content should be rendered.

AvaloniaView Constructor​

public AvaloniaView(string divId)
Parameters​

divId string

ID of the html element where avalonia content should be rendered.

Properties​

NameDescription
ContentNo summary available.

Content Property​

public Avalonia.Controls.Control Content { get; set; }