Share via


ICustomPropertyProvider Interface

Definition

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.

public interface class ICustomPropertyProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
struct ICustomPropertyProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
public interface ICustomPropertyProvider
Public Interface ICustomPropertyProvider
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Type

Gets the underlying type of the custom property.

Methods

GetCustomProperty(String)

Gets a custom property's ICustomProperty support object by specifying a property name.

GetIndexedProperty(String, TypeName)

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.

Applies to

See also