'Declaration Public Enum AverageConditionType Inherits System.Enum
'Usage Dim instance As AverageConditionType
public enum AverageConditionType : System.Enum
'Declaration Public Enum AverageConditionType Inherits System.Enum
'Usage Dim instance As AverageConditionType
public enum AverageConditionType : System.Enum
Member | Description |
---|---|
Above | Specifies the above average condition. |
Above1StdDev | Specifies the above standard deviation condition. |
Above2StdDev | Specifies the above the two standard deviation condition. |
Above3StdDev | Specifies the above the three standard deviation condition. |
Below | Specifies the below average condition. |
Below1StdDev | Specifies the below standard deviation condition. |
Below2StdDev | Specifies the below the two standard deviation condition. |
Below3StdDev | Specifies the below the three standard deviation condition. |
EqualOrAbove | Specifies the above average or equal average condition. |
EqualOrBelow | Specifies the below average or equal average condition. |
var style = new GrapeCity.Windows.SpreadSheet.Data.StyleInfo(); style.Background = new SolidColorBrush(Colors.Blue); style.BorderLeft = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red); style.BorderTop = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red); style.BorderRight = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red); style.BorderBottom = new GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red); var style1 = new GrapeCity.Windows.SpreadSheet.Data.StyleInfo(); style1.Background = new SolidColorBrush(Colors.Green); var style2 = new GrapeCity.Windows.SpreadSheet.Data.StyleInfo(); style2.Background = new SolidColorBrush(Colors.Yellow); var rule = GrapeCity.Windows.SpreadSheet.Data.AverageRule.Create(GrapeCity.Windows.SpreadSheet.Data.AverageConditionType.Above, style); rule.Ranges = new GrapeCity.Windows.SpreadSheet.Data.CellRange[] { new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 5, 1) }; gcSpreadSheet1.Sheets[0].ConditionalFormats.AddRule(rule);
Dim style As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo() style.Background = New SolidColorBrush(Colors.Blue) style.BorderLeft = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red) style.BorderTop = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red) style.BorderRight = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red) style.BorderBottom = New GrapeCity.Windows.SpreadSheet.Data.BorderLine(Colors.Red) Dim style1 As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo() style1.Background = New SolidColorBrush(Colors.Green) Dim style2 As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo() style2.Background = New SolidColorBrush(Colors.Yellow) Dim s As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo() Dim rule = GrapeCity.Windows.SpreadSheet.Data.AverageRule.Create(GrapeCity.Windows.SpreadSheet.Data.AverageConditionType.Above, Style) rule.Ranges = New GrapeCity.Windows.SpreadSheet.Data.CellRange() {New GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 5, 1)} GcSpreadSheet1.Sheets(0).ConditionalFormats.AddRule(rule)
System.Object
System.ValueType
System.Enum
GrapeCity.Windows.SpreadSheet.Data.AverageConditionType