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);
}
/** @property */
public int get_Top ()

/** @property */
public void set_Top (int value)
public function get Top () : int

public function set Top (value : int)
Not applicable.

Property Value

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PenInputPanelMovingEventArgs Class
PenInputPanelMovingEventArgs Members
Microsoft.Ink Namespace
PenInputPanel.PanelMoving