ActivityXamlServices.CreateBuilderReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps an x:Class
activity tree to an ActivityBuilder or ActivityBuilder<TResult>.
Overloads
CreateBuilderReader(XamlReader) |
Maps an |
CreateBuilderReader(XamlReader, XamlSchemaContext) |
Maps an |
Remarks
This overload is used for design-time scenarios.
CreateBuilderReader(XamlReader)
Maps an x:Class
activity tree from the specified reader to an ActivityBuilder or ActivityBuilder<TResult>.
public:
static System::Xaml::XamlReader ^ CreateBuilderReader(System::Xaml::XamlReader ^ innerReader);
public static System.Xaml.XamlReader CreateBuilderReader (System.Xaml.XamlReader innerReader);
static member CreateBuilderReader : System.Xaml.XamlReader -> System.Xaml.XamlReader
Public Shared Function CreateBuilderReader (innerReader As XamlReader) As XamlReader
Parameters
- innerReader
- XamlReader
The x:Class
content.
Returns
A XamlReader that handles the transformation between the ActivityBuilder and the activity x:Class
XAML.
Applies to
CreateBuilderReader(XamlReader, XamlSchemaContext)
Maps an x:Class
activity tree from the specified reader to an ActivityBuilder or ActivityBuilder<TResult> using the specified schema context.
public:
static System::Xaml::XamlReader ^ CreateBuilderReader(System::Xaml::XamlReader ^ innerReader, System::Xaml::XamlSchemaContext ^ schemaContext);
public static System.Xaml.XamlReader CreateBuilderReader (System.Xaml.XamlReader innerReader, System.Xaml.XamlSchemaContext schemaContext);
static member CreateBuilderReader : System.Xaml.XamlReader * System.Xaml.XamlSchemaContext -> System.Xaml.XamlReader
Public Shared Function CreateBuilderReader (innerReader As XamlReader, schemaContext As XamlSchemaContext) As XamlReader
Parameters
- innerReader
- XamlReader
The x:Class
content.
- schemaContext
- XamlSchemaContext
The schema context.
Returns
A XamlReader that handles the transformation between the ActivityBuilder and the activity x:Class
XAML.