Struct DoubleSpan
Holds a start and end value with double precision.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
Namespace: Syncfusion.WinForms.GridCommon.Utility
Assembly: Syncfusion.GridCommon.WinForms.dll
Syntax
public struct DoubleSpan
Constructors
DoubleSpan(Double, Double)
Initializes a new instance of the DoubleSpan struct.
Declaration
public DoubleSpan(double start, double end)
Parameters
Type | Name | Description |
---|---|---|
System.Double | start | The start. |
System.Double | end | The end. |
Fields
Empty
An empty object.
Declaration
public static readonly DoubleSpan Empty
Field Value
Type |
---|
DoubleSpan |
Properties
End
Gets or sets the end.
Declaration
public double End { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The end. |
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
public bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Length
Gets or sets the length.
Declaration
public double Length { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The length. |
Start
Gets or sets the start.
Declaration
public double Start { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The start. |
Methods
ToString()
Returns a string with start and end values.
Declaration
public override string ToString()
Returns
Type |
---|
System.String |
Overrides
System.ValueType.ToString()