ICustomPropertyProvider interface

Applies to Windows and Windows Phone

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.

Syntax


public interface ICustomPropertyProvider

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The ICustomPropertyProvider interface has these types of members:

Methods

The ICustomPropertyProvider interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetCustomProperty Gets a custom property's ICustomProperty support object by specifying a property name.
GetIndexedProperty Gets a custom property's ICustomProperty support object by specifying a property name and the type of the indexed collection.
GetStringRepresentation Provides support for GetStringFromObject and/or ToString logic on the assumption that the implementation supports System.Object. This logic might be accessed by features or services such as generating UI Automation values based on data content.

 

Properties

The ICustomPropertyProvider interface has these properties.

PropertyAccess typeDescription

Type

Read-onlyGets the underlying type of the custom property.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Data
Windows::UI::Xaml::Data [C++]

Metadata

Windows.winmd

See also

Binding
XAML data binding sample
Data binding overview

 

 

Show:
© 2014 Microsoft