2020 Method
Changes 8
M

FormatOptions.IsValidForUnitType

Description:
Checks whether this FormatOptions is valid for a given unit type.
Remarks:
The FormatOptions is valid if UseDefault is true or if the display unit in the FormatOptions is valid for the unit type. See UnitUtils.IsValidDisplayUnit(UnitType, DisplayUnitType) and UnitUtils.GetValidDisplayUnits(UnitType).
public bool IsValidForUnitType(
	UnitType unitType
)
Return Value bool True if the FormatOptions is valid, false otherwise.