System.Windows.Data 命名空間

包含類別,可用於將屬性繫結至資料來源、資料來源提供者類別,以及集合和檢視之特定資料的實作。 Contains classes used for binding properties to data sources, data source provider classes, and data-specific implementations of collections and views.

類別

Binding

提供繫結定義的高層級存取,連接繫結目標物件的屬性 (通常為 WPF 元素) 和任何資料來源 (例如資料庫、XML 檔案或任何包含資料的物件)。Provides high-level access to the definition of a binding, which connects the properties of binding target objects (typically, WPF elements), and any data source (for example, a database, an XML file, or any object that contains data).

BindingBase

定義 BindingPriorityBindingMultiBinding 類別的通用特性。Defines the common characteristics of the Binding, PriorityBinding, and MultiBinding classes.

BindingExpression

包含 Binding 單一執行個體的相關資訊。Contains information about a single instance of a Binding.

BindingExpressionBase

表示 BindingExpressionPriorityBindingExpressionMultiBindingExpression 的基底類別。Represents the base class for BindingExpression, PriorityBindingExpression, and MultiBindingExpression.

BindingGroup

內含用來驗證物件之繫結和 ValidationRule 物件的集合。Contains a collection of bindings and ValidationRule objects that are used to validate an object.

BindingListCollectionView

代表實作 IBindingList 之集合的 CollectionView,例如 Microsoft ActiveX Data Objects (ADO) 資料檢視。Represents the CollectionView for collections that implement IBindingList, such as Microsoft ActiveX Data Objects (ADO) data views.

BindingOperations

提供靜態方法操作繫結,包括 BindingMultiBindingPriorityBinding 物件。Provides static methods to manipulate bindings, including Binding, MultiBinding, and PriorityBinding objects.

CollectionContainer

保留現有的集合結構 (例如 ObservableCollection<T>DataSet),以在 CompositeCollection 內部使用。Holds an existing collection structure, such as an ObservableCollection<T> or a DataSet, to be used inside a CompositeCollection.

CollectionRegisteringEventArgs

提供 CollectionRegistering 事件的資料。Provides data for the CollectionRegistering event.

CollectionView

代表對分組、排序、篩選以及巡覽資料集合的檢視。Represents a view for grouping, sorting, filtering, and navigating a data collection.

CollectionViewGroup

表示 CollectionView 物件根據 GroupDescriptions 所建立的群組。Represents a group created by a CollectionView object based on the GroupDescriptions.

CollectionViewRegisteringEventArgs

提供 CollectionViewRegistering 事件的資料。Provides data for the CollectionViewRegistering event.

CollectionViewSource

CollectionView 類別的 Extensible Application Markup Language (XAML) Proxy。The Extensible Application Markup Language (XAML) proxy of a CollectionView class.

CompositeCollection

允許以單一清單顯示多個集合和項目。Enables multiple collections and items to be displayed as a single list.

DataChangedEventManager

提供 WeakEventManager 實作,讓您能夠使用「弱式事件接聽程式」模式附加 DataChanged 事件的接聽程式。Provides a WeakEventManager implementation so that you can use the "weak event listener" pattern to attach listeners for the DataChanged event.

DataSourceProvider

常用的基底類別和 DataSourceProvider 物件協定,是執行幾項查詢以產生單一物件或物件清單 (可當作繫結來源物件使用) 的因素。Common base class and contract for DataSourceProvider objects, which are factories that execute some queries to produce a single object or a list of objects that you can use as binding source objects.

DataTransferEventArgs

封裝資料傳輸事件的引數。Encapsulates arguments for data transfer events.

FilterEventArgs

提供與 Filter 事件相關聯的資訊與事件資料。Provides information and event data that is associated with the Filter event.

ListCollectionView

表示實作 IList 之集合的集合檢視。Represents the collection view for collections that implement IList.

MultiBinding

描述附加至單一繫結目標屬性的 Binding 物件集合。Describes a collection of Binding objects attached to a single binding target property.

MultiBindingExpression

含有單一 MultiBinding 執行個體的執行個體詳細資訊。Contains instance information about a single instance of a MultiBinding.

ObjectDataProvider

包裝並建立可作為繫結來源的物件。Wraps and creates an object that you can use as a binding source.

PriorityBinding

描述 Binding 物件的集合,該集合會附加至單一繫結目標屬性,並會從成功產生值的集合中的第一個繫結接收其值。Describes a collection of Binding objects that is attached to a single binding target property, which receives its value from the first binding in the collection that produces a value successfully.

PriorityBindingExpression

含有單一 PriorityBinding 執行個體的執行個體詳細資訊。Contains instance information about a single instance of a PriorityBinding.

PropertyGroupDescription

描述使用屬性名稱作為準則的項目群組。Describes the grouping of items using a property name as the criteria.

RelativeSource

實作標記延伸,這個標記延伸描述與繫結目標位置相對的繫結來源位置。Implements a markup extension that describes the location of the binding source relative to the position of the binding target.

ValueConversionAttribute

代表屬性,這個屬性允許值轉換器的作者指定涉及轉換器實作的資料類型。Represents an attribute that allows the author of a value converter to specify the data types involved in the implementation of the converter.

ValueUnavailableException

當無法取得值時,由 GetValue(Object, String) 方法所擲回的例外狀況。The exception that is thrown by the GetValue(Object, String) method when the value is not available.

XmlDataProvider

啟用對於 XML 資料的宣告式存取以進行資料繫結。Enables declarative access to XML data for data binding.

XmlNamespaceMapping

宣告統一資源識別項 (URI) 與前置詞之間的對應。Declares a mapping between a uniform resource identifier (URI) and a prefix.

XmlNamespaceMappingCollection

表示 XmlNamespaceMapping 物件的集合。Represents a collection of XmlNamespaceMapping objects.

介面

IMultiValueConverter

提供在 MultiBinding 中套用自訂邏輯的方法。Provides a way to apply custom logic in a MultiBinding.

IValueConverter

提供方法,將自訂邏輯套用至繫結。Provides a way to apply custom logic to a binding.

列舉

BindingMode

描述繫結的資料流程方向。Describes the direction of the data flow in a binding.

BindingStatus

描述繫結的狀態。Describes the status of a binding.

RelativeSourceMode

描述繫結來源對繫結目標的相對位置。Describes the location of the binding source relative to the position of the binding target.

UpdateSourceTrigger

描述繫結來源更新的時機。Describes the timing of binding source updates.

委派

CollectionSynchronizationCallback

表示同步處理跨執行緒存取集合的方法。Represent the method that synchronizes a collection for cross-thread access.

FilterEventHandler

代表將處理 Filter 事件的方法。Represents the method that will handle the Filter event.

GroupDescriptionSelectorCallback

表示用於提供自訂邏輯的方法,以根據父群組及其層級選取 GroupDescriptionRepresents a method that is used to provide custom logic to select the GroupDescription based on the parent group and its level.

UpdateSourceExceptionFilterCallback

代表方法,這個方法會處理繫結來源值更新期間所擲回的例外狀況。Represents the method that handles exceptions that are thrown during the update of the binding source value. 這必須搭配 ExceptionValidationRule 使用。This must be used with the ExceptionValidationRule.