VirtualizingPanel.GetItemOffset(UIElement) Method

Definition

Returns the position of the specified item, relative to the VirtualizingPanel.

public:
 double GetItemOffset(System::Windows::UIElement ^ child);
public double GetItemOffset (System.Windows.UIElement child);
member this.GetItemOffset : System.Windows.UIElement -> double
Public Function GetItemOffset (child As UIElement) As Double

Parameters

child
UIElement

The element whose position to find.

Returns

The position of the specified item, relative to the VirtualizingPanel.

Remarks

This method calls GetItemOffsetCore.

Applies to