Table of Contents

Class PlessWindowHandler

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

Implements dummy IWindowHandler provider.

public class PlessWindowHandler : PlessControlHandler, IBaseObject, IWindowHandler, IControlHandler, IDisposableObject, IDisposable
Inheritance
PlessWindowHandler
Implements

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.

Closing

Gets or sets action which is called when window is closing.

HasBorder

Gets or sets a value indicating whether the window has a border.

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.

InputBindingCommandExecuted

Gets or sets action which is called when command specified in the input bindings is executed.

IsActive

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

IsModal

Gets whether or not window is modal dialog.

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.

ModalResult

Gets or sets the modal result value, which is the value that is returned from the ShowModal() method. This property is set to None at the moment ShowModal() is called.

OwnedWindows

Gets an array of Window objects that represent all windows that are owned by this window.

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.

StartLocation

Gets or sets the position of the window when first shown.

State

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

StateChanged

Gets or sets action which is called when window state is changed.

StatusBar

Gets or sets window status bar.

Title

Gets or sets the title of the control.

Methods

Activate()

Activates the window.

AddInputBinding(InputBinding)

Adds input binding.

Close()

Closes the window.

RemoveInputBinding(InputBinding)

Removes input binding.

SetIcon(IconSet?)

Sets window icon.

SetMenu(object?)

Sets window menu.

SetOwner(Window?)

Sets window owner.

ShowModal(IWindow?)

Shows window as a modal dialog.