Table of Contents

Class ToolWindowTemplate

Namespace
SharpConsoleUI.Builders
Assembly
SharpConsoleUI.dll

A window template for creating tool windows with standard tool panel behavior. Tool windows are typically smaller, positioned to the side, and can be resized and moved.

public sealed class ToolWindowTemplate : WindowTemplate
Inheritance
ToolWindowTemplate
Inherited Members

Constructors

ToolWindowTemplate(string, Point, Size)

Initializes a new instance of the ToolWindowTemplate class.

public ToolWindowTemplate(string title, Point position, Size size)

Parameters

title string

The title text to display in the tool window's title bar.

position Point

The initial position of the tool window.

size Size

The initial size of the tool window.

Exceptions

ArgumentNullException

Thrown when title is null.

Methods

Configure(WindowBuilder)

Configures the window builder with tool window-specific settings including the specified position and size, with resizing and moving enabled.

public override WindowBuilder Configure(WindowBuilder builder)

Parameters

builder WindowBuilder

The window builder to configure.

Returns

WindowBuilder

The configured builder instance for continued method chaining.