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(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
struct ICustomPropertyProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
public interface ICustomPropertyProvider
Public Interface ICustomPropertyProvider
Derived
Attributes

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