Udostępnij za pośrednictwem


ItemAutomationPeer.Item Property

Definition

Gets the data item in the Items collection that is associated with this ItemAutomationPeer.

public:
 property Platform::Object ^ Item { Platform::Object ^ get(); };
IInspectable Item();
public object Item { get; }
var object = itemAutomationPeer.item;
Public ReadOnly Property Item As Object

Property Value

Object

Platform::Object

IInspectable

The data item.

Remarks

This property is similar in purpose to the Owner property on other peers (it provides the reference to the object that this peer provides the automation exposure for). Its value must be set in the ItemAutomationPeer constructor.

Applies to