Class TaskBarElementBuilder
- Namespace
- SharpConsoleUI.Panel.Builders
- Assembly
- SharpConsoleUI.dll
Fluent builder for TaskBarElement.
public class TaskBarElementBuilder : IPanelElementBuilder
- Inheritance
-
TaskBarElementBuilder
- Implements
- Inherited Members
- Extension Methods
Methods
Build()
Builds and returns the configured panel element.
public IPanelElement Build()
Returns
WithActiveColor(Color)
Sets the highlight color for the active window.
public TaskBarElementBuilder WithActiveColor(Color color)
Parameters
colorColor
Returns
WithInactiveColor(Color)
Sets the color for inactive windows.
public TaskBarElementBuilder WithInactiveColor(Color color)
Parameters
colorColor
Returns
WithMinimizedDim(bool)
Sets whether minimized windows are dimmed.
public TaskBarElementBuilder WithMinimizedDim(bool dim)
Parameters
dimbool
Returns
WithName(string)
Sets the element name.
public TaskBarElementBuilder WithName(string name)
Parameters
namestring