CustomComponentViewHandlerAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在设计时通知数据流设计器,组件的用户界面将自行管理组件查看器。
public ref class CustomComponentViewHandlerAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class CustomComponentViewHandlerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type CustomComponentViewHandlerAttribute = class
inherit Attribute
Public NotInheritable Class CustomComponentViewHandlerAttribute
Inherits Attribute
- 继承
-
CustomComponentViewHandlerAttribute
- 属性
示例
以下示例展示了 CustomComponentViewHandlerAttribute 应用到类上的属性。
[CustomComponentViewHandler]
public class MyComponentUI
{
...
]
<CustomComponentViewHandler> _
Public Class MyComponentUI
...
End Class
注解
该属性通常用于设计时修改产生组件自身外部副作用且组件管理数据流中其他组件的组件。 例如,缓慢变化的维度变换创建了一整序列的数据流组件,也可能删除其他对象。
构造函数
| 名称 | 说明 |
|---|---|
| CustomComponentViewHandlerAttribute() |
初始化一个新的实例 CustomComponentViewHandlerAttribute。 |