VirtualizingPanel.GetItemOffsetCore(UIElement) 方法

定義

傳回指定的項目相對於 VirtualizingPanel 的位置。

protected:
 virtual double GetItemOffsetCore(System::Windows::UIElement ^ child);
protected virtual double GetItemOffsetCore (System.Windows.UIElement child);
abstract member GetItemOffsetCore : System.Windows.UIElement -> double
override this.GetItemOffsetCore : System.Windows.UIElement -> double
Protected Overridable Function GetItemOffsetCore (child As UIElement) As Double

參數

child
UIElement

要尋找其位置的項目。

傳回

Double

所有情況下都是 0。

備註

繼承自 VirtualizingPanel 的類別應該覆寫這個方法,以傳回相對於面板的位置 child

適用於