public bool SuppressSpaces { get; set; }| Exception | Condition |
|---|---|
| InvalidOperationException | UseDefault is true in this FormatOptions. -or- When setting this property: SuppressSpaces was set to true but spaces cannot be suppressed for the display unit in this FormatOptions. |
This property is applicable to display units related to feet and fractional inches:
When SuppressLeadingZeros is true, spaces will not be inserted before and after the dash separating feet from inches. For example, 1' - 2 3/4" will be displayed as 1'-2 3/4".