ICustomProperty interface

Applies to Windows and Windows Phone

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

Syntax


public interface ICustomProperty

Attributes

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

Members

The ICustomProperty interface has these types of members:

Methods

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

MethodDescription
GetIndexedValue Gets the value at an index location, for cases where the custom property has indexer support.
GetValue Gets the value of the custom property from a particular instance.
SetIndexedValue Sets the value at an index location, for cases where the custom property has indexer support.
SetValue Sets the custom property value on a specified instance.

 

Properties

The ICustomProperty interface has these properties.

PropertyAccess typeDescription

CanRead

Read-onlyGets a value that determines whether the custom property supports read access.

CanWrite

Read-onlyGets a value that determines whether the custom property supports write access.

Name

Read-onlyGets the path-relevant name of the property.

Type

Read-onlyGets the underlying type of the custom property.

 

Remarks

ICustomProperty represents a property on an instance of an object, but the calling patterns support the ability to implement the interface per owner type.

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