C# Class AcManager.Controls.Dialogs.Prompt

Inheritance: IValueConverter
Datei anzeigen Open project: gro-ove/actools Class Usage Examples

Private Properties

Property Type Description
Prompt System
Show string
ShowAsync Task

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
ShowAsync ( CancellationToken cancellation ) : Task

Private Methods

Method Description
Prompt ( string title, string description, string defaultValue, string watermark, string toolTip, bool multiline, bool passwordMode, bool required, int maxLength, IEnumerable suggestions ) : System
Show ( string description, string title, string defaultValue = "", string watermark = null, string toolTip = null, bool multiline = false, bool passwordMode = false, bool required = false, int maxLength = -1, IEnumerable suggestions = null ) : string
ShowAsync ( string description, string title, string defaultValue = "", string watermark = null, string toolTip = null, bool multiline = false, bool passwordMode = false, bool required = false, int maxLength = -1, IEnumerable suggestions = null, CancellationToken cancellation = default(CancellationToken) ) : Task

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object

ShowAsync() public method

public ShowAsync ( CancellationToken cancellation ) : Task
cancellation System.Threading.CancellationToken
return Task