Class Host
Inheritance
System.Object
Host
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public class Host
Constructors
| Improve this Doc View SourceHost()
Declaration
public Host()
Properties
| Improve this Doc View SourceContent
Gets the "Content" sub-object of this Host.
Declaration
public Content Content { get; }
Property Value
Type | Description |
---|---|
Content |
InitParams
Gets the initialization parameters that were passed as part of HTML initialization of a Silverlight plug-in.
Declaration
public IDictionary<string, string> InitParams { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | The set of initialization parameters, as a dictionary with key strings and value strings. |
NavigationState
Gets or sets a URI fragment that represents the current navigation state.
Declaration
public string NavigationState { get; set; }
Property Value
Type | Description |
---|---|
System.String | A URI fragment that represents the current navigation state. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | When setting this property, the specified value is null. |
Settings
Gets the "Settings" sub-object of this tHost.
Declaration
public Settings Settings { get; }
Property Value
Type | Description |
---|---|
Settings |
Source
Gets the URI of the package or XAML file that specifies the XAML content to render.
Declaration
public Uri Source { get; }
Property Value
Type | Description |
---|---|
System.Uri | The URI of the package, XAML file, or XAML scripting tag that contains the content to load into the Silverlight plug-in. |
Events
| Improve this Doc View SourceNavigationStateChanged
Occurs when the NavigationState property changes value.
Declaration
public event EventHandler<NavigationStateChangedEventArgs> NavigationStateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<NavigationStateChangedEventArgs> |