Skip to main content

StyleReloader Class

Definition​

Assembly:AvaloniaUI.DiagnosticsSupport.HotReload
Package:AvaloniaUI.DiagnosticsSupport.HotReload
public class StyleReloader

Inheritance: object -> StyleReloader

Constructors​

NameDescription
StyleReloader (2 overloads)No summary available.

StyleReloader overloads​

StyleReloader Constructor​

public StyleReloader(Avalonia.Application application)
Parameters​

application Avalonia.Application

StyleReloader Constructor​

public StyleReloader(Avalonia.Application application, Func<System.Collections.Generic.IEnumerable<Avalonia.Controls.TopLevel>> topLevelProvider, string appEntryXamlPath)
Parameters​

application Avalonia.Application

topLevelProvider Func<System.Collections.Generic.IEnumerable<Avalonia.Controls.TopLevel>>

appEntryXamlPath string

Methods​

NameDescription
ReloadNo summary available.

Reload Method​

public object Reload(string xamlPath, string xamlContent)

Parameters​

xamlPath string

xamlContent string

Returns​

object