BindingOperations クラス
定義
Binding、MultiBinding、PriorityBinding オブジェクトなどのバインディングを操作するための静的メソッドを提供します。Provides static methods to manipulate bindings, including Binding, MultiBinding, and PriorityBinding objects.
public ref class BindingOperations abstract sealed
public static class BindingOperations
type BindingOperations = class
Public Class BindingOperations
- 継承
-
BindingOperations
注釈
このクラスは、データバインディングのヘルパー操作として機能する静的メソッドのセットを公開します。This class exposes a set of static methods that serve as helper operations for data bindings.
プロパティ
DisconnectedSource |
項目コンテナーがビジュアル ツリーから削除された場合に DataContext を置換するオブジェクトを取得します。Gets an object that replaces the DataContext when an item container is removed from the visual tree. |
メソッド
AccessCollection(IEnumerable, Action, Boolean) |
EnableCollectionSynchronization を呼び出したときに指定されるアプリケーション同期機構を使用してコレクションへのアクセスを提供します。Provides access to a collection by using the synchronization mechanism that the application specified when it called EnableCollectionSynchronization. |
ClearAllBindings(DependencyObject) |
種類が Binding、MultiBinding、および PriorityBinding のバインドを含むすべてのバインドを、指定した DependencyObject から削除します。Removes all bindings, including bindings of type Binding, MultiBinding, and PriorityBinding, from the specified DependencyObject. |
ClearBinding(DependencyObject, DependencyProperty) |
プロパティからバインドを削除します (存在する場合)。Removes the binding from a property if there is one. |
DisableCollectionSynchronization(IEnumerable) |
指定されたコレクションについて登録されている同期を削除します。Remove the synchronization registered for the specified collection. |
EnableCollectionSynchronization(IEnumerable, Object) |
CollectionView オブジェクトが、単純なロック メカニズムを使用して複数のスレッドで使用されるコレクションへの同期アクセスに参加できるようにします。Enables a CollectionView object to participate in synchronized access to a collection used on multiple threads by using a simple locking mechanism. |
EnableCollectionSynchronization(IEnumerable, Object, CollectionSynchronizationCallback) |
CollectionView オブジェクトが、単純なロック以外のメカニズムを使用して複数のスレッドで使用されるコレクションへの同期アクセスに参加できるようにします。Enables a CollectionView object to participate in synchronized access to a collection used on multiple threads by using a mechanism other than a simple lock. |
GetBinding(DependencyObject, DependencyProperty) |
指定したプロパティに設定されている Binding オブジェクトを取得します。Retrieves the Binding object that is set on the specified property. |
GetBindingBase(DependencyObject, DependencyProperty) |
指定したプロパティに設定されている BindingBase オブジェクトを取得します。Retrieves the BindingBase object that is set on the specified property. |
GetBindingExpression(DependencyObject, DependencyProperty) |
指定されたオブジェクト上の指定されたバインディング ターゲット プロパティに関連付けられた BindingExpression オブジェクトを返します。Returns the BindingExpression object associated with the specified binding target property on the specified object. |
GetBindingExpressionBase(DependencyObject, DependencyProperty) |
指定したプロパティに設定されている BindingExpressionBase オブジェクトを取得します。Retrieves the BindingExpressionBase object that is set on the specified property. |
GetMultiBinding(DependencyObject, DependencyProperty) |
指定したプロパティに設定されている MultiBinding オブジェクトを取得します。Retrieves the MultiBinding object that is set on the specified property. |
GetMultiBindingExpression(DependencyObject, DependencyProperty) |
指定されたオブジェクト上の指定されたバインディング ターゲット プロパティに関連付けられた MultiBindingExpression オブジェクトを返します。Returns the MultiBindingExpression object associated with the specified binding target property on the specified object. |
GetPriorityBinding(DependencyObject, DependencyProperty) |
指定したプロパティに設定されている PriorityBinding オブジェクトを取得します。Retrieves the PriorityBinding object that is set on the specified property. |
GetPriorityBindingExpression(DependencyObject, DependencyProperty) |
指定されたオブジェクト上の指定されたバインディング ターゲット プロパティに関連付けられた PriorityBindingExpression オブジェクトを返します。Returns the PriorityBindingExpression object associated with the specified binding target property on the specified object. |
GetSourceUpdatingBindingGroups(DependencyObject) |
無効な値がある、またはターゲット値がソースを更新していない BindingGroup オブジェクトをすべて取得します。Gets all BindingGroup objects that have invalid values or target values have not been updated the source. |
GetSourceUpdatingBindings(DependencyObject) |
無効な値がある、またはターゲット値がソースを更新していない BindingExpressionBase オブジェクトをすべて取得します。Gets all BindingExpressionBase objects that have invalid values or target values have not been updated the source. |
IsDataBound(DependencyObject, DependencyProperty) |
指定したプロパティが現在データ バインドされているかどうかを示す値を返します。Returns a value that indicates whether the specified property is currently data-bound. |
SetBinding(DependencyObject, DependencyProperty, BindingBase) |
BindingExpressionBase の新しいインスタンスを作成し、指定したバインディング ターゲット プロパティと関連付けます。Creates and associates a new instance of BindingExpressionBase with the specified binding target property. |
イベント
CollectionRegistering |
データ バインディングのシステムがコレクションを確認すると発生します。Occurs when the data-binding system notices a collection. |
CollectionViewRegistering |
データ バインディングのシステムがコレクション ビューを確認すると発生します。Occurs when the data-binding system notices a collection view. |