Responsible for converting user input (dialogs and controls) into data and vice versa. The user preferences for locality are
used by this class.
Inheritance Hierarchy Namespace: Altaxo.SerializationAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static class GUIConversion
The GUIConversion type exposes the following members.
Properties Methods | Name | Description |
---|
| GetLengthMeasureText(Double) |
Converts a value (unit: points) in the length unit last used and returns it as text together with the unit.
|
| GetLengthMeasureText(Double, LengthUnit) |
Converts a value (unit: points) in a given unit and returns it as text together with the unit.
|
| GetLengthMeasureValue(String, Double) |
Get a length value from a text string.
|
| GetLengthMeasureValue(String, LengthUnit, Double) |
Get a length value from a text string.
|
| GetListOfChoices(Enum) |
For a given enum value, this gives the list of possible choices for that enumeration (must not be a flag enumeration).
|
| GetListOfChoices(Enum, SelectableListNodeList) |
For a given enum value, this gives the list of possible choices for that enumeration (must not be a flag enumeration).
|
| GetPercentMeasureText |
Converts a value (0 to 1) in percents (i.e. 0 to 100) and returns it as text together with the percent char.
|
| GetPercentMeasureValue |
Get a percentage value from a text string.
|
| IsDateTime(String) |
Is the provided string a date/time?
|
| IsDateTime(String, DateTime) |
Is the provided string a date/time?
|
| IsDouble(String) |
Is the provided string a double?
|
| IsDouble(String, Double) |
Is the provided string a floating point value?
|
| IsDoubleOrNull | |
| IsInt32OrNull | |
| IsInteger |
Is the provided string an integer value?
|
| IsTimeSpan(String) |
Is the provided string a time span?
|
| IsTimeSpan(String, TimeSpan) |
Is the provided string a date/time?
|
| ToNumberStringNullIfNaN | |
| ToNumberStringWithUnit | |
| ToString(DateTime) | |
| ToString(Double) | |
| ToString(ICollectionDouble) | |
| ToString(ICollectionInt32) | |
| ToString(IEnumerableAltaxoVariant) | |
| ToString(Int32) | |
| ToString(Int32) | |
| ToString(NullableDouble) | |
| ToString(NullableInt32) | |
| ToString(TimeSpan) | |
| ToString(Double, Int32) | |
| ToString(Double, String) | |
| TryParseMultipleAltaxoVariant | |
| TryParseMultipleDouble | |
| TryParseMultipleInt32 | |
TopSee Also