ItemsControl.IContainItemStorage.ReadItemValue(Object, DependencyProperty) 方法

定义

返回与指定项相关的指定属性的值。Returns the value of the specified property that is associated with the specified item.

 virtual System::Object ^ System.Windows.Controls.Primitives.IContainItemStorage.ReadItemValue(System::Object ^ item, System::Windows::DependencyProperty ^ dp) = System::Windows::Controls::Primitives::IContainItemStorage::ReadItemValue;
object IContainItemStorage.ReadItemValue (object item, System.Windows.DependencyProperty dp);
Function ReadItemValue (item As Object, dp As DependencyProperty) As Object Implements IContainItemStorage.ReadItemValue

参数

item
Object

与其指定属性相关联的项。The item that has the specified property associated with it.

dp
DependencyProperty

要返回其值的属性。The property whose value to return.

返回

与指定项相关的指定属性的值。The value of the specified property that is associated with the specified item.

实现

适用于