Share via


PenInputPanelMovingEventArgs.Top Property

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

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Property Top As Integer
'Usage
Dim instance As PenInputPanelMovingEventArgs 
Dim value As Integer 

value = instance.Top

instance.Top = value
public int Top { get; set; }
public:
property int Top {
    int get ();
    void set (int value);
}
public function get Top () : int 
public function set Top (value : int)

Property Value

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

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.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PenInputPanelMovingEventArgs Class

PenInputPanelMovingEventArgs Members

Microsoft.Ink Namespace

PenInputPanel.PanelMoving