Class DoubleSpan
Holds a start and end value with double precision.
Inheritance
System.Object
DoubleSpan
Namespace: Syncfusion.UI.Xaml.Grids.Utility
Assembly: Syncfusion.GridCommon.WinUI.dll
Syntax
public sealed class DoubleSpan : ValueType
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 |