Quantity |
public class QuantityWithUnitGuiEnvironment
The QuantityWithUnitGuiEnvironment type exposes the following members.
| Name | Description | |
|---|---|---|
| QuantityWithUnitGuiEnvironment | Initializes a new instance of the QuantityWithUnitGuiEnvironment class. | |
| QuantityWithUnitGuiEnvironment(IEnumerableIUnit) | Initializes a new instance of the QuantityWithUnitGuiEnvironment class. | |
| QuantityWithUnitGuiEnvironment(IEnumerableIUnit, IUnit) | Initializes a new instance of the QuantityWithUnitGuiEnvironment class. | |
| QuantityWithUnitGuiEnvironment(IEnumerableIUnit, IEnumerableIUnit) | Initializes a new instance of the QuantityWithUnitGuiEnvironment class. | |
| QuantityWithUnitGuiEnvironment(QuantityWithUnitGuiEnvironment, IEnumerableIUnit) | Initializes a new instance of the QuantityWithUnitGuiEnvironment class by reusing the fixed-unit configuration of another environment. |
| Name | Description | |
|---|---|---|
| AdditionalUnits | Gets the additional units that are available in this environment. | |
| DefaultUnit | Gets or sets the default unit displayed in GUI elements. | |
| FixedUnits | Gets the fixed units that are always available in this environment. | |
| NumberOfDisplayedDigits | Gets or sets the number of digits displayed in GUI boxes. | |
| UnitsSortedByShortcutLengthDescending | Gets all available units sorted by descending shortcut length. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnDefaultUnitChanged | Raises the DefaultUnitChanged event. | |
| OnNumberOfDisplayedDigitsChanged | Raises the NumberOfDisplayedDigitsChanged event. | |
| RegisterEnvironment | Registers a named quantity-with-unit environment. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryGetEnvironment | Tries to get a registered quantity-with-unit environment by name. | |
| TryGetPrefixedUnitFromShortcut | Tries to get a prefixed unit from a shortcut, considering all units in this environment. |
| Name | Description | |
|---|---|---|
| DefaultUnitChanged | Triggered when the default unit that is displayed in Gui boxes changed. | |
| NumberOfDisplayedDigitsChanged | Triggered when the number of digits that should be displayed (in Gui boxes) changed. |