WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct DoubleSpan

    Show / Hide Table of Contents

    Struct DoubleSpan

    Holds a start and end value with double precision.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Syncfusion.UI.Xaml.Utility
    Assembly: Syncfusion.SfGrid.WPF.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 Description
    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

    true if this instance is empty; otherwise, false.

    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 Description
    System.String
    Overrides
    System.ValueType.ToString()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved