menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Rect - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Rect

    Represents the rectangle dimension of a region.

    Inheritance
    System.Object
    Rect
    Namespace: Syncfusion.Blazor.DataVizCommon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Rect : Object

    Constructors

    Rect()

    Constructs an instance of the Rect.

    Declaration
    public Rect()

    Rect(Double, Double, Double, Double)

    Constructs an instance of the Rect for the specified dataGrid.

    Declaration
    public Rect(double x, double y, double width, double height)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    System.Double width
    System.Double height

    Properties

    Height

    Gets or sets the height of a region.

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    Accepts the double value. The default value is 0.

    Width

    Gets or sets the with of a region.

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    Accepts the double value. The default value is 0.

    X

    Gets or sets the x value of a region.

    Declaration
    public double X { get; set; }
    Property Value
    Type Description
    System.Double

    Accepts the double value. The default value is 0.

    Y

    Gets or sets the y value of a region.

    Declaration
    public double Y { get; set; }
    Property Value
    Type Description
    System.Double

    Accepts the double value. The default value is 0.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved