Skip to the content.

PromptPlus API:ConfigControls

Build Publish License NuGet Downloads

Back to List Api

ConfigControls

Namespace: PPlus.Controls

Represents the common config properties for all controls.

public class ConfigControls

Inheritance ObjectConfigControls

Properties

CalendarSwitchNotesPress

Get/Set HotKey to toggle view notes in calendar.
Default value : ‘[F2]’

public HotKey CalendarSwitchNotesPress { get; set; }

Property Value

HotKey

ChartBarSwitchLegendPress

Get/Set HotKey to toggle ChartBar Legend view.
Default value : ‘[F3]’

public HotKey ChartBarSwitchLegendPress { get; set; }

Property Value

HotKey

ChartBarSwitchOrderPress

Get/Set HotKey to toggle ChartBar Order view.
Default value : ‘[F4]’

public HotKey ChartBarSwitchOrderPress { get; set; }

Property Value

HotKey

ChartBarSwitchTypePress

Get/Set HotKey to toggle ChartBar Layout view.
Default value : ‘[F2]’

public HotKey ChartBarSwitchTypePress { get; set; }

Property Value

HotKey

CompletionMaxCount

Get/Set Completion Max Items to return.
Default value : 1000. If value less than 1 internal set to 1.

public int CompletionMaxCount { get; set; }

Property Value

Int32

CompletionMinimumPrefixLength

Get/Set Minimum Prefix Length.
Default value : 3.If value less than 1 internal set to 1.

public int CompletionMinimumPrefixLength { get; set; }

Property Value

Int32

CompletionWaitToStart

Get/Set Interval in mileseconds to wait start Completion funcion.
Default value : 1000. If value less than 100 internal set to 100.

public int CompletionWaitToStart { get; set; }

Property Value

Int32

DefaultCulture

Get/Set default Culture(CultureInfo) for all controls.

public CultureInfo DefaultCulture { get; set; }

Property Value

CultureInfo

DisableToggleTooltip

Get/Set Disable toggle Tooltip for all controls at startup.
Default value : false

public bool DisableToggleTooltip { get; set; }

Property Value

Boolean

EditItemPress

Get/Set HotKey to Edit item.
Default value : ‘[F2]’

public HotKey EditItemPress { get; set; }

Property Value

HotKey

EnabledAbortKey

Get/Set enable abortKey(ESC) for all controls.
Default value : true

public bool EnabledAbortKey { get; set; }

Property Value

Boolean

FullPathPress

Get/Set HotKey toggle current path to full path.
Default value : ‘[F2]’

public HotKey FullPathPress { get; set; }

Property Value

HotKey

HideAfterFinish

Get/Set hide controls after finish for all controls.
Default value : false

public bool HideAfterFinish { get; set; }

Property Value

Boolean

HideOnAbort

Get/Set hide controls On Abort for all controls.
Default value : false

public bool HideOnAbort { get; set; }

Property Value

Boolean

HistoryTimeout

Get/Set History Timeout.
Default value : 365 days

public TimeSpan HistoryTimeout { get; set; }

Property Value

TimeSpan

InvertSelectedPress

Get/Set HotKey to Invert Selected item.
Default value : ‘[F3]’

public HotKey InvertSelectedPress { get; set; }

Property Value

HotKey

MinimalRender

Get/Set Minimal Render.
Default value : false
When true, the prompt and control description are not rendered, showing only the minimum necessary without using resources (except the default tooltips when used)

public bool MinimalRender { get; set; }

Property Value

Boolean

NoChar

Get/Set value for NO answer
Default value : NoChar in built-in resources. Fall-back when null : N

public Nullable<Char> NoChar { get; set; }

Property Value

Nullable<Char>

PageSize

Get/Set Page Size from colletions.
Default value : 10. If value less than 1 internal set to 1.

public int PageSize { get; set; }

Property Value

Int32

PaginationTemplate

Get/Set Custom PaginationTemplate
string to show = Func(Total items,Current Page,Total pages)

public Func<Int32, Int32, Int32, String> PaginationTemplate { get; set; }

Property Value

Func<Int32, Int32, Int32, String>

PasswordViewPress

Get/Set HotKey to toggle password view.
Default value : ‘[F2]’

public HotKey PasswordViewPress { get; set; }

Property Value

HotKey

RemoveItemPress

Get/Set HotKey to Remove item.
Default value : ‘[F3]’

public HotKey RemoveItemPress { get; set; }

Property Value

HotKey

SecretChar

Get/Set value char for secret input
Default value : ‘#’. Fall-back when null : ‘#’

public Nullable<Char> SecretChar { get; set; }

Property Value

Nullable<Char>

SelectAllPress

Get/Set HotKey to Select all item.
Default value : ‘[F2]’

public HotKey SelectAllPress { get; set; }

Property Value

HotKey

ShowOnlyExistingPagination

Get/Set Show pagination only if exists
Default value : false

public bool ShowOnlyExistingPagination { get; set; }

Property Value

Boolean

ShowTooltip

Get/Set enable show Tooltip for all controls at startup.
Default value : true

public bool ShowTooltip { get; set; }

Property Value

Boolean

ToggleExpandAllPress

Get/Set HotKey Toggle Expand /Collapse All node.
Default value : ‘[F4]’

public HotKey ToggleExpandAllPress { get; set; }

Property Value

HotKey

ToggleExpandPress

Get/Set HotKey Toggle Expand/Collapse node.
Default value : ‘[F3]’

public HotKey ToggleExpandPress { get; set; }

Property Value

HotKey

TooltipKeyPress

Get/Set HotKey to show/hide Tooltip.
Default value : ‘[F1]’

public HotKey TooltipKeyPress { get; set; }

Property Value

HotKey

YesChar

Get/Set value for YES answer
Default value : YesChar in built-in resources. Fall-back when null : Y

public Nullable<Char> YesChar { get; set; }

Property Value

Nullable<Char>


Back to List Api