Version

SetValue(FormatConditionValueType) Method

Sets the ValueType property to the specified FormatConditionValueType value.
Syntax
public void SetValue( 
   FormatConditionValueType valueType
)

Parameters

valueType
The new value for the ValueType property.
Remarks

The valueType parameter must be set to one of the following values or an exception is thrown:

  • AutomaticLowest
  • AutomaticHighest
  • LowestValue
  • HighestValue

To set the Value property to a numeric value, use the SetValue(Double,FormatConditionValueType) method.

To set the ValueType property to Formula, use the SetFormula method.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also