NewItemTypesAttribute.FactoryType 属性

获取或设置与此属性相关的工厂类型。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Property FactoryType As Type
    Get
    Set
public Type FactoryType { get; set; }
public:
property Type^ FactoryType {
    Type^ get ();
    void set (Type^ value);
}
member FactoryType : Type with get, set
function get FactoryType () : Type
function set FactoryType (value : Type)

属性值

类型:System.Type
一个 Type 对象,表示与此特性关联的类型。

异常

异常 条件
ArgumentException

类型不从 NewItemFactory 进行派生。

ArgumentNullException

类型为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

Type 对象肯定能由 NewItemFactory 派生出来。

.NET Framework 安全性

请参见

参考

NewItemTypesAttribute 类

Microsoft.Windows.Design.PropertyEditing 命名空间

NewItemFactory

其他资源

属性编辑体系结构

WPF 设计器扩展性