Table of Contents

Interface IWindowHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Extends IControlHandler with properties and methods specific to the window.

public interface IWindowHandler

Properties

AlwaysOnTop

Gets or sets a value indicating whether the window should be placed above all non-topmost windows and should stay above them, even when the window is deactivated.

CloseEnabled

Gets or sets a value indicating whether the window has an enabled close button.

Control

Gets a Window this handler provides the implementation for.

HasSystemMenu

Gets or sets whether system menu is visible for this window.

HasTitleBar

Gets or sets a boolean value indicating whether window has title bar.

IsActive

Gets a value indicating whether the window is the currently active window for this application.

IsPopupWindow

Gets or sets a value indicating whether to create a special popup window.

IsToolWindow

A tool window does not appear in the Windows taskbar or in the window that appears when the user presses ALT+TAB. On Windows, a tool window doesn't have minimize and maximize buttons.

MaximizeEnabled

Gets or sets a value indicating whether the window has an enabled maximize button.

MinimizeEnabled

Gets or sets a value indicating whether the window has an enabled minimize button.

Resizable

Gets or sets a value indicating whether the window can be resized by user.

ShowInTaskbar

Gets or sets a value indicating whether the form is displayed in the Windows or Linux taskbar.

State

Gets or sets a value that indicates whether window is minimized, maximized, or normal.

StatusBar

Gets or sets window status bar.

Title

Gets or sets the title of the control as string. There is also TitleAsObject property.

Methods

Activate()

Activates the window.

Close()

Closes the window.

SetIcon(IconSet?)

Sets window icon.

SetMenu(object?)

Sets window menu.