GrapeCity.Xaml.SpreadSheet.Data
RuleCount Property
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > ConditionalFormat Class : RuleCount Property
Gets the number of rule objects in the collection.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public ReadOnly Property RuleCount As Integer
'Usage
 
Dim instance As ConditionalFormat
Dim value As Integer
 
value = instance.RuleCount
[DefaultValue()]
public int RuleCount {get;}

Property Value

The number of rule objects in the collection. The default value is 0.
Example
This example uses the RuleCount property.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].ConditionalFormats.RuleCount.ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).ConditionalFormats.RuleCount.ToString())
See Also

Reference

ConditionalFormat Class
ConditionalFormat Members