次の方法で共有


PropertyContainer.SetOwningPropertyContainer メソッド

指定された依存関係オブジェクトに対する OwningPropertyContainer 添付プロパティの値を設定します。

名前空間:  Microsoft.Windows.Design.PropertyEditing
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Public Shared Sub SetOwningPropertyContainer ( _
    dependencyObject As DependencyObject, _
    value As PropertyContainer _
)
public static void SetOwningPropertyContainer(
    DependencyObject dependencyObject,
    PropertyContainer value
)
public:
static void SetOwningPropertyContainer(
    DependencyObject^ dependencyObject, 
    PropertyContainer^ value
)
static member SetOwningPropertyContainer : 
        dependencyObject:DependencyObject * 
        value:PropertyContainer -> unit 
public static function SetOwningPropertyContainer(
    dependencyObject : DependencyObject, 
    value : PropertyContainer
)

パラメーター

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

PropertyContainer クラス

Microsoft.Windows.Design.PropertyEditing 名前空間

その他の技術情報

WPF デザイナーの機能拡張

プロパティ編集アーキテクチャ

依存関係プロパティの概要