PromptPlus API:StyleSchemaExtensions
StyleSchemaExtensions
Namespace: PPlus.Controls
Represents The Style funtions Extensions
public static class StyleSchemaExtensions
Inheritance Object → StyleSchemaExtensions
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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