CustomComponentViewHandlerAttribute クラス

定義

コンポーネントのユーザー インターフェイスがそれ自体でコンポーネント ビューアーを管理することをデザイン時にデータ フロー デザイナーに通知します。

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 の新しいインスタンスを初期化します。

適用対象