ChoiceFactoryOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains formatting options for presenting a list of choices.
public class ChoiceFactoryOptions
type ChoiceFactoryOptions = class
Public Class ChoiceFactoryOptions
- Inheritance
-
ChoiceFactoryOptions
- Derived
Constructors
ChoiceFactoryOptions() |
Initializes a new instance of the ChoiceFactoryOptions class. |
ChoiceFactoryOptions(String, String, String, Nullable<Boolean>) |
Initializes a new instance of the ChoiceFactoryOptions class. Refer to the code in teh ConfirmPrompt for an example of usage. |
Properties
IncludeNumbers |
Gets or sets a value indicating whether an inline and list style choices will be prefixed with the index of the
choice as in "1. choice". If |
InlineOr |
Gets or sets the separator inserted between the choices when their are only 2 choices. The default
value is |
InlineOrMore |
Gets or sets the separator inserted between the last 2 choices when their are more than 2 choices.
The default value is |
InlineSeparator |
Gets or sets the character used to separate individual choices when there are more than 2 choices.
The default value is |