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);
abstract member System.Windows.Controls.Primitives.IContainItemStorage.ReadItemValue : obj * System.Windows.DependencyProperty -> obj
override this.System.Windows.Controls.Primitives.IContainItemStorage.ReadItemValue : obj * System.Windows.DependencyProperty -> obj
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.

傳回

Object

與指定的項目相關聯的指定的屬性其值。The value of the specified property that is associated with the specified item.

實作

適用於