Interface ITreeTableCounter
Interface definition for a counter object.
Namespace: Syncfusion.Collections.BinaryTree
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface ITreeTableCounter
Properties
Kind
Gets the Counter Kind.
Declaration
int Kind { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The kind. |
Methods
Combine(ITreeTableCounter, Int32)
Combines this counter object with another counter and returns a new object. A cookie can specify a specific counter type.
Declaration
ITreeTableCounter Combine(ITreeTableCounter other, int cookie)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableCounter | other | The other. |
System.Int32 | cookie | The cookie. |
Returns
Type |
---|
ITreeTableCounter |
Compare(ITreeTableCounter, Int32)
Compares this counter with another counter. A cookie can specify a specific counter type.
Declaration
double Compare(ITreeTableCounter other, int cookie)
Parameters
Type | Name | Description |
---|---|---|
ITreeTableCounter | other | The other. |
System.Int32 | cookie | The cookie. |
Returns
Type |
---|
System.Double |
GetValue(Int32)
Returns the integer value of the counter. A cookie specifies a specific counter type.
Declaration
double GetValue(int cookie)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cookie | The cookie. |
Returns
Type |
---|
System.Double |
IsEmpty(Int32)
Indicates whether the counter object is empty. A cookie can specify a specific counter type.
Declaration
bool IsEmpty(int cookie)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cookie | The cookie. |
Returns
Type | Description |
---|---|
System.Boolean |
|