RootComponent 类

定义

描述可添加到 的 BlazorWebView根组件。

public ref class RootComponent
public class RootComponent
type RootComponent = class
Public Class RootComponent
继承
RootComponent

构造函数

RootComponent(String, Type, IDictionary<String,Object>)

构造 的 RootComponent实例。

属性

ComponentType

获取根组件的类型。 该类型必须实现 IComponent

Parameters

获取要传递给根组件的参数的可选字典。

Selector

获取 CSS 选择器字符串,该字符串指定组件应在文档中放置的位置。 这在 中的根组件中必须是唯一的 BlazorWebView

适用于