Table of Contents

Class SeparatorElementBuilder

Namespace
SharpConsoleUI.Panel.Builders
Assembly
SharpConsoleUI.dll

Fluent builder for SeparatorElement.

public class SeparatorElementBuilder : IPanelElementBuilder
Inheritance
SeparatorElementBuilder
Implements
Inherited Members
Extension Methods

Methods

Build()

Builds and returns the configured panel element.

public IPanelElement Build()

Returns

IPanelElement

WithChar(char)

Sets the separator character.

public SeparatorElementBuilder WithChar(char c)

Parameters

c char

Returns

SeparatorElementBuilder

WithColor(Color)

Sets the separator color.

public SeparatorElementBuilder WithColor(Color color)

Parameters

color Color

Returns

SeparatorElementBuilder

WithName(string)

Sets the element name.

public SeparatorElementBuilder WithName(string name)

Parameters

name string

Returns

SeparatorElementBuilder