DesignTimeParseData 类

定义

在设计时将信息提供给分析器。Provides information to the parser during design time.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class DesignTimeParseData sealed
public sealed class DesignTimeParseData
type DesignTimeParseData = class
Public NotInheritable Class DesignTimeParseData
继承
DesignTimeParseData

注解

类用于为DesignTimeTemplateParser类中的多个方法提供设计时参数, 将模板分析为一组控件。 DesignTimeParseDataThe DesignTimeParseData class is used to provide design-time parameters for several methods in the DesignTimeTemplateParser class, which parses a template into a set of controls.

构造函数

DesignTimeParseData(IDesignerHost, String)

初始化没有指定筛选器的 DesignTimeParseData 类的新实例。Initializes a new instance of the DesignTimeParseData class without a specified filter.

DesignTimeParseData(IDesignerHost, String, String)

用指定的筛选器初始化 DesignTimeParseData 类的新实例。Initializes a new instance of the DesignTimeParseData class with the specified filter.

属性

DataBindingHandler

获取或设置在设计时用于数据绑定的委托。Gets or sets the delegate for data binding at design time.

DesignerHost

获取用于管理设计器事务和组件的对象。Gets the object for managing designer transactions and components.

DocumentUrl

获取或设置文档所在的 URL。Gets or sets the URL at which the document is located.

Filter

获取在设计时使用的筛选器。Gets the filter used at design time.

ParseText

获取要分析的文本。Gets the text to parse.

ShouldApplyTheme

获取或设置一个值,该值指示是否应该应用主题。Gets or sets a value that indicates whether a theme should be applied.

UserControlRegisterEntries

获取有关用户控件注册的信息集合。Gets a collection of information about user control registrations.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于