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.3572.0 (4.8.3572.0)
Syntaxpublic 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 |
Determines whether the specified string represents a Double value or an empty value.
|
  | IsInt32OrNull |
Determines whether the specified string represents an Int32 value or an empty value.
|
  | 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 |
Converts a number to a string, or returns null if the value is NaN.
|
  | ToNumberStringWithUnit |
Converts a number into a string using an engineering prefix and unit.
|
  | ToString(DateTime) |
Converts the specified date/time to a culture-dependent string.
|
  | ToString(Double) |
Converts a Double value to a culture-aware string.
|
  | ToString(ICollectionDouble) |
Converts a collection of Double values to a space-separated string.
|
  | ToString(ICollectionInt32) |
Converts a collection of Int32 values to a space-separated string.
|
  | ToString(IEnumerableAltaxoVariant) |
Converts a sequence of AltaxoVariant values to a semicolon-separated string.
|
  | ToString(Int32) |
Converts an Int32 value to a culture-aware string.
|
  | ToString(Int32) |
Converts an array of Int32 values to a space-separated string.
|
  | ToString(NullableDouble) |
Converts a nullable Double value to a culture-aware string.
|
  | ToString(NullableInt32) |
Converts a nullable Int32 value to a culture-aware string.
|
  | ToString(TimeSpan) |
Converts the specified time span to a culture-dependent string.
|
  | ToString(Double, Int32) |
Converts a Double value to a culture-aware string with the specified accuracy.
|
  | ToString(Double, String) |
Converts a Double value to a culture-aware string using the specified format string.
|
  | TryParseMultipleAltaxoVariant |
Tries to parse multiple AltaxoVariant values from a string.
|
  | TryParseMultipleDouble |
Tries to parse multiple floating-point values from a delimited string.
|
  | TryParseMultipleInt32 |
Tries to parse multiple integer values from a delimited string.
|
Top
See Also