次の方法で共有


ViewManager.SetPropertyRedirections メソッド

更新 : 2007 年 11 月

この API は、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

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

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

構文

'宣言
Protected Shared Sub SetPropertyRedirections ( _
    view As DependencyObject, _
    redirections As IEnumerable(Of PropertyIdentifier) _
)
'使用
Dim view As DependencyObject
Dim redirections As IEnumerable(Of PropertyIdentifier)

ViewManager.SetPropertyRedirections(view, _
    redirections)
protected static void SetPropertyRedirections(
    DependencyObject view,
    IEnumerable<PropertyIdentifier> redirections
)
protected:
static void SetPropertyRedirections(
    DependencyObject^ view, 
    IEnumerable<PropertyIdentifier^>^ redirections
)
protected static function SetPropertyRedirections(
    view : DependencyObject, 
    redirections : IEnumerable<PropertyIdentifier>
)

パラメータ

解説

ビューには同じ名前で互換性のある型のパブリック プロパティが宣言されている必要があります。プロパティがリダイレクトされているモデルに値が設定されると、その値は代わりにリダイレクトされるプロパティに設定されます。

アクセス許可

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

参照

参照

ViewManager クラス

ViewManager メンバ

Microsoft.Windows.Design.Documents 名前空間

その他の技術情報

WPF デザイナの機能拡張

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