Share via


PenInputPanelMovingEventArgs.Top Property

PenInputPanelMovingEventArgs.Top Property

Gets the new vertical, or y-axis, position of the PenInputPanel object, in screen coordinates.

Definition

Visual Basic .NET Public Property Top As Integer
C# public int Top { get; set; }
Managed C++ public: __property int* get_Top();
public: __property void set_Top(int*);

Property Value

System.Int32. The new vertical, or y-axis, position of the PenInputPanel object, in screen coordinates.

This property is read/write. This property has no default value.

Remarks

To explicitly override the automatic positioning behavior of the PenInputPanel object, use the Left and Top properties of the object to determine the current position of the pen input panel. If the pen input panel is located on a section of the screen that should be visible, use the MoveTo method to relocate the pen input panel.

You can also override the automatic positioning behavior of the PenInputPanel object by listening for the Left and Top properties of the PenInputPanelMovingEventArgs object during a PanelMoving event. If the pen input panel is located on a section of the screen that should be visible, use the MoveTo method to relocate the pen input panel.

See Also