Bewerken

Delen via


VirtualizingPanel.GetItemOffsetCore(UIElement) Method

Definition

Returns the position of the specified item, relative to the 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

Parameters

child
UIElement

The element whose position to find.

Returns

0 in all cases.

Remarks

Classes that inherit from VirtualizingPanel should override this method to return the position child, relative to the panel.

Applies to