Class SpreadsheetConditionalFormattingBuilder<T>
Specifies the class for Spreadsheet ConditionalFormatting rule which includes color, range and inputs properties.
Inheritance
System.Object
SpreadsheetConditionalFormattingBuilder<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SpreadsheetConditionalFormattingBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetConditionalFormattingBuilder(Sheet)
Initializes a new instance of the SpreadsheetConditionalFormattingBuilder<T> class.
Declaration
public SpreadsheetConditionalFormattingBuilder(Sheet sheet)
Parameters
Type | Name | Description |
---|---|---|
Sheet | sheet | The sheet. |
Methods
Action(SpreadsheetCFormatRuleAction)
Specifies the action for ConditionalFormatting.
Declaration
public SpreadsheetConditionalFormattingBuilder<T> Action(SpreadsheetCFormatRuleAction action)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetCFormatRuleAction | action | The ConditionalFormatting Action value. |
Returns
Type | Description |
---|---|
SpreadsheetConditionalFormattingBuilder<T> |
Add()
Declaration
public void Add()
Color(SpreadsheetCFormatHighlightColor)
Specifies the color for ConditionalFormatting.
Declaration
public SpreadsheetConditionalFormattingBuilder<T> Color(SpreadsheetCFormatHighlightColor color)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetCFormatHighlightColor | color | The color for ConditionalFormatting. |
Returns
Type | Description |
---|---|
SpreadsheetConditionalFormattingBuilder<T> |
Inputs(List<String>)
Specifies the input1 for ConditionalFormatting.
Declaration
public SpreadsheetConditionalFormattingBuilder<T> Inputs(List<string> inputs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | inputs |
Returns
Type | Description |
---|---|
SpreadsheetConditionalFormattingBuilder<T> |
Range(String)
Specifies the range for ConditionalFormatting rule.
Declaration
public SpreadsheetConditionalFormattingBuilder<T> Range(string range)
Parameters
Type | Name | Description |
---|---|---|
System.String | range | The range for ConditionalFormatting rule. |
Returns
Type | Description |
---|---|
SpreadsheetConditionalFormattingBuilder<T> |