Freigeben über


RemoteUserControl.GetXamlAsync(CancellationToken) Method

Definition

This method retrieves the xaml describing the data template of the control.

public virtual System.Threading.Tasks.Task<string> GetXamlAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetXamlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GetXamlAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function GetXamlAsync (cancellationToken As CancellationToken) As Task(Of String)

Parameters

cancellationToken
CancellationToken

Cancellation token for the async call.

Returns

A xaml string describing a data template.

Remarks

This method can be overridden to implement a different mechanism for retrieving the control's xaml definition.

Applies to