Windows.UI.Xaml.Data Namespace

Defines the data binding infrastructure for apps.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Classes

BindableAttribute

Specifies that a type defined in C++ can be used for binding.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.BindableAttribute (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Binding

Defines a binding that connects the properties of binding targets and data sources.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.Binding (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

BindingBase

Provides a base class for the Binding class.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.BindingBase (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

BindingExpression

Contains information about a single instance of a Binding.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.BindingExpression (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

BindingExpressionBase

Represents the base class for BindingExpression.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.BindingExpressionBase (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

BindingOperations

Provides the static SetBinding method.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.BindingOperations (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

CollectionViewSource

Provides a data source that adds grouping and current-item support to collection classes.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.CollectionViewSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

CurrentChangingEventArgs

Provides data for the CurrentChanging event.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.CurrentChangingEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ItemIndexRange

Provides info about a range of items in the data source.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ItemIndexRange (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PropertyChangedEventArgs

Provides data for the PropertyChanged event.

.NET This class appears as System.ComponentModel.PropertyChangedEventArgs.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.PropertyChangedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RelativeSource

Implements a markup extension that describes the location of the binding source relative to the position of the binding target.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.RelativeSource (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Structs

LoadMoreItemsResult

Wraps the asynchronous results of a LoadMoreItemsAsync call.

Equivalent WinUI 2 API for UWP: LoadMoreItemsResult (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Interfaces

ICollectionView

Enables collections to support current record management, grouping, and incremental loading (data virtualization).

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ICollectionView (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ICollectionViewFactory

Supports creation of the relevant ICollectionView implementation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ICollectionViewFactory (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ICollectionViewGroup

Represents any grouped items within a view.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ICollectionViewGroup (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ICustomProperty

Implements custom property definition support for data binding sources that are implemented using COM.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ICustomProperty (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ICustomPropertyProvider

Provides lookup service for ICustomProperty support. This interface is implemented by objects so that their custom defined properties can be used as run-time binding sources.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ICustomPropertyProvider (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

IItemsRangeInfo

Provides info about a range of items in the data source.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.IItemsRangeInfo (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

INotifyPropertyChanged

Notifies clients that a property value has changed.

.NET This interface appears as System.ComponentModel.INotifyPropertyChanged.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.INotifyPropertyChanged (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ISelectionInfo

Manages whether items and ranges of items in the data source are selected in the list control.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ISelectionInfo (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

ISupportIncrementalLoading

Specifies a calling contract for collection views that support incremental loading.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.ISupportIncrementalLoading (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

IValueConverter

Exposes methods that allow the data to be modified as it passes through the binding engine.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.IValueConverter (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Enums

BindingMode

Describes how the data propagates in a binding.

Equivalent WinUI 2 API for UWP: BindingMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

RelativeSourceMode

Defines constants that describe the location of the binding source relative to the position of the binding target.

Equivalent WinUI 2 API for UWP: RelativeSourceMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

UpdateSourceTrigger

Defines constants that indicate when a binding source is updated by its binding target in two-way binding.

Equivalent WinUI 2 API for UWP: UpdateSourceTrigger (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Delegates

CurrentChangingEventHandler

Represents a method that can handle the CurrentChanging event of an ICollectionView implementation.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.CurrentChangingEventHandler (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

PropertyChangedEventHandler

Represents the method that will handle the PropertyChanged event. When programming with Microsoft .NET this delegate is hidden, use the System.ComponentModel.PropertyChangedEventHandler delegate.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Data.PropertyChangedEventHandler (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

See also