更新 : 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>
)
パラメータ
view
型 : System.Windows.DependencyObjectリダイレクト先のプロパティのコレクションを設定するビュー。
redirections
型 : System.Collections.Generic.IEnumerable<PropertyIdentifier>ビューにリダイレクトされるモデルにあるプロパティを示すプロパティ識別子のコレクション。
解説
ビューには同じ名前で互換性のある型のパブリック プロパティが宣言されている必要があります。プロパティがリダイレクトされているモデルに値が設定されると、その値は代わりにリダイレクトされるプロパティに設定されます。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
Microsoft.Windows.Design.Documents 名前空間