Share via


RemoteWpfUserControlDefinition Constructors

Definition

Overloads

RemoteWpfUserControlDefinition(String)

Initializes a new instance of the RemoteWpfUserControlDefinition struct.

RemoteWpfUserControlDefinition(String, IReadOnlyDictionary<String,String>)

Initializes a new instance of the RemoteWpfUserControlDefinition struct.

RemoteWpfUserControlDefinition(String)

Initializes a new instance of the RemoteWpfUserControlDefinition struct.

public RemoteWpfUserControlDefinition (string xaml);
new Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteWpfUserControlDefinition : string -> Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteWpfUserControlDefinition
Public Sub New (xaml As String)

Parameters

xaml
String

Xaml definition of the remote user control.

Applies to

RemoteWpfUserControlDefinition(String, IReadOnlyDictionary<String,String>)

Initializes a new instance of the RemoteWpfUserControlDefinition struct.

[Newtonsoft.Json.JsonConstructor]
public RemoteWpfUserControlDefinition (string xaml, System.Collections.Generic.IReadOnlyDictionary<string,string>? resourcesXaml);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteWpfUserControlDefinition : string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Microsoft.VisualStudio.RpcContracts.RemoteUI.RemoteWpfUserControlDefinition
Public Sub New (xaml As String, resourcesXaml As IReadOnlyDictionary(Of String, String))

Parameters

xaml
String

Xaml definition of the remote user control.

resourcesXaml
IReadOnlyDictionary<String,String>

A dictionary of xaml definitions of the WPF resources used by the control, each associated with a unique key. The same key should be used in case the same resource string is sent by different remote user controls.

Attributes
Newtonsoft.Json.JsonConstructorAttribute

Applies to