Interface IShellWindow
A shell window in a SAP NWBC application.
public interface IShellWindow : IUIObjectBase, ISupportsNativeObject, ILocationInfoProvider, IClickable, IDoubleClickable, ISupportDragAndDrop, ISupportSendKeys, IEnabledProvider, IVisibleProvider, ITopLevelObject, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
IsModal
Indicates whether the window is modal.
bool IsModal { get; }
Property Value
WindowState
The current window state. Possible values: WindowState.
WindowState WindowState { get; }
Property Value
Methods
Activate()
Activates the window.
void Activate()
Activate(MouseButton)
Activates the window using the specified mouse button.
void Activate(MouseButton button)
Parameters
buttonMouseButtonThe mouse button used to click the window.
Close()
Closes this window.
void Close()
ClosePage(int)
Closes a tab page.
void ClosePage(int index)
Parameters
indexintThe index of the tab page to close, starting from 1.
ClosePage(string)
Closes a tab page.
void ClosePage(string name)
Parameters
namestringThe name of the tab page to close.
Maximize()
Maximizes this window to fill the screen.
void Maximize()
Minimize()
Minimizes this window to an icon.
void Minimize()
Move(Point)
Moves this window to the specified absolute location on the screen.
void Move(Point point)
Parameters
pointPointAbsolute pixel location (X, Y) on the screen.
Move(int, int)
Moves this window to the specified absolute location on the screen.
void Move(int x, int y)
Parameters
Resize(Size)
Resizes this window to the specified dimensions.
void Resize(Size size)
Parameters
sizeSizeThe new size in pixels.
Resize(int, int)
Resizes this window to the specified dimensions.
void Resize(int width, int height)
Parameters
Restore()
Restores this window to its previous size.
void Restore()