ConditionalLength Class
Represents a conditional length used in DataBarCondition of a conditional formatting rule to specify data bar length.
public sealed class ConditionalLength : ConditionalObject
Public NotInheritable Class ConditionalLength
Inherits ConditionalObject
- Inheritance:
- System.ObjectConditionalLength
Properties
Length
Gets or sets the data bar length as a percentage of the cell width.
Property Value
- System.Int32
The data bar length as a percentage of the cell width.
Exceptions
- System.ArgumentOutOfRangeException
Value is less than 0 or greater than 100.
Methods
ToString()
Returns a System.String that represents this ConditionalLength instance.
Returns
- System.String
A System.String that represents this ConditionalLength instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).
Inherited Properties
Value | Gets or sets the value. (Inherited from ConditionalObject) |