Skip to the content.

PromptPlus API:StyleSchemaExtensions

Build Publish License NuGet Downloads

Back to List Api

StyleSchemaExtensions

Namespace: PPlus.Controls

Represents The Style funtions Extensions

public static class StyleSchemaExtensions

Inheritance ObjectStyleSchemaExtensions

Methods

Answer(StyleSchema)

Get Style text Answer.
Foreground : ‘ConsoleColor.Cyan’
Background : same Console Background when not set

public static Style Answer(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

ApplyBackground(StyleSchema, StyleControls, Color)

Apply global Background to StyleControls

public static Style ApplyBackground(StyleSchema schema, StyleControls styleControl, Color background)

Parameters

schema StyleSchema
The StyleSchema

styleControl StyleControls
StyleControls to apply

background Color
Background Color

Returns

Style

ApplyForeground(StyleSchema, StyleControls, Color)

Apply Foreground to StyleControls

public static Style ApplyForeground(StyleSchema schema, StyleControls styleControl, Color foreground)

Parameters

schema StyleSchema
The StyleSchema

styleControl StyleControls
StyleControls to apply

foreground Color
Foreground Color

Returns

Style

BrowserFile(StyleSchema)

Get Style text Browser File.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style BrowserFile(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

BrowserFolder(StyleSchema)

Get Style text Browser Folder.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style BrowserFolder(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

BrowserSize(StyleSchema)

Get Style text Browser Size.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style BrowserSize(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

CalendarDay(StyleSchema)

Get Style CalendarDay.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style CalendarDay(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

CalendarHighlight(StyleSchema)

Get Style CalendarHighlight.
Foreground : ‘ConsoleColor.DarkYellow’
Background : same Console Background when not set

public static Style CalendarHighlight(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

CalendarMonth(StyleSchema)

Get Style CalendarMonth.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style CalendarMonth(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

CalendarWeekDay(StyleSchema)

Get Style CalendarWeekDay.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style CalendarWeekDay(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

CalendarYear(StyleSchema)

Get Style CalendarYear.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style CalendarYear(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

ChartLabel(StyleSchema)

Get Style ChartLabel.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style ChartLabel(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

ChartOrder(StyleSchema)

Get Style ChartOrder.
Foreground : ‘ConsoleColor.DarkGray’
Background : same Console Background when not set

public static Style ChartOrder(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

ChartPercent(StyleSchema)

Get Style ChartPercent.
Foreground : ‘ConsoleColor.DarkYellow’
Background : same Console Background when not set

public static Style ChartPercent(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

ChartTitle(StyleSchema)

Get Style ChartTitle.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style ChartTitle(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

ChartValue(StyleSchema)

Get Style ChartValue.
Foreground : ‘ConsoleColor.Cyan’
Background : same Console Background when not set

public static Style ChartValue(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Description(StyleSchema)

Get Style text Description.
Foreground : ‘ConsoleColor.DarkYellow’
Background : same Console Background when not set

public static Style Description(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Disabled(StyleSchema)

Get Style text Disabled.
Foreground : ‘ConsoleColor.DarkGray’
Background : same Console Background when not set

public static Style Disabled(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Error(StyleSchema)

Get Style text Error.
Foreground : ‘ConsoleColor.Red’
Background : same Console Background when not set

public static Style Error(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

FilterMatch(StyleSchema)

Get Style FilterMatch.
Foreground : ‘ConsoleColor.Yellow’
Background : same Console Background when not set

public static Style FilterMatch(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

FilterUnMatch(StyleSchema)

Get Style FilterUnMatch.
Foreground : ‘ConsoleColor.Cyan’
Background : same Console Background when not set

public static Style FilterUnMatch(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

GroupTip(StyleSchema)

Get Style GroupTip.
Foreground : ‘ConsoleColor.DarkGray’
Background : same Console Background when not set

public static Style GroupTip(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Lines(StyleSchema)

Get Style Lines.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style Lines(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

MaskNegative(StyleSchema)

Get Style MaskNegative.
Foreground : ‘ConsoleColor.Cyan’
Background : same Console Background when not set

public static Style MaskNegative(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

MaskPositive(StyleSchema)

Get Style MaskPositive.
Foreground : ‘ConsoleColor.Cyan’
Background : same Console Background when not set

public static Style MaskPositive(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

MaskTypeTip(StyleSchema)

Get Style MaskTypeTip.
Foreground : ‘ConsoleColor.Yellow’
Background : same Console Background when not set

public static Style MaskTypeTip(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

OnOff(StyleSchema)

Get Style GroupTip.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style OnOff(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Pagination(StyleSchema)

Get Style text Pagination.
Foreground : ‘ConsoleColor.DarkGray’
Background : same Console Background when not set

public static Style Pagination(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Prompt(StyleSchema)

Get Style text Prompt.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style Prompt(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Ranger(StyleSchema)

Get Style Range.
Foreground : ‘ConsoleColor.DarkYellow’
Background : same Console Background when not set

public static Style Ranger(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Selected(StyleSchema)

Get Style text Selected.
Foreground : ‘ConsoleColor.Green’
Background : same Console Background when not set

public static Style Selected(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Slider(StyleSchema)

Get Style text Slider-On(Foreground)/Slider-Off(Background).
Foreground : ‘ConsoleColor.Cyan’
Background : ‘ConsoleColor.DarkGray’

public static Style Slider(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Spinner(StyleSchema)

Get Style Spinner.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style Spinner(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Suggestion(StyleSchema)

Get Style text Suggestion.
Foreground : ‘ConsoleColor.Yellow’
Background : same Console Background when not set

public static Style Suggestion(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TableContent(StyleSchema)

Get Style TableContent.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TableContent(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TableHeader(StyleSchema)

Get Style TableHeader.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TableHeader(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TableTitle(StyleSchema)

Get Style TableTitle.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TableTitle(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TaggedInfo(StyleSchema)

Get Style text Tagged info.
Foreground : ‘ConsoleColor.DarkYellow’
Background : same Console Background when not set

public static Style TaggedInfo(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TaskElapsedTime(StyleSchema)

Get Style text TaskElapsedTime.
Foreground : ‘ConsoleColor.DarkYellow’
Background : same Console Background when not set

public static Style TaskElapsedTime(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TaskTitle(StyleSchema)

Get Style text TaskTitle.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TaskTitle(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

Tooltips(StyleSchema)

Get Style text Tooltips.
Foreground : ‘ConsoleColor.DarkGray’
Background : same Console Background when not set

public static Style Tooltips(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TreeViewChild(StyleSchema)

Get Style text TreeView Child.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TreeViewChild(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TreeViewExpand(StyleSchema)

Get Style text TreeView Expand.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TreeViewExpand(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TreeViewParent(StyleSchema)

Get Style text TreeView Parent.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TreeViewParent(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

TreeViewRoot(StyleSchema)

Get Style text TreeView Root.
Foreground : ‘ConsoleColor.White’
Background : same Console Background when not set

public static Style TreeViewRoot(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style

UnSelected(StyleSchema)

Get Style text UnSelected.
Foreground : ‘ConsoleColor.Gray’
Background : same Console Background when not set

public static Style UnSelected(StyleSchema schema)

Parameters

schema StyleSchema

Returns

Style


Back to List Api