Skip to content

Canvas.GetTop method

Gets the distance in DIPs from the canvas’s top edge to the element’s top edge.

public static double GetTop(Element element)
parameter description
element Target element.

The top position, or NaN when unset.