Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class ScaleRange

    Represents a range of values.

    Inheritance
    System.Object
    ScaleRange
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class ScaleRange : object

    Properties

    End

    Gets or sets the end.

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

    The end.

    Mid

    Gets the mid.

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

    The mid.

    Size

    Gets the size.

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

    The size.

    Start

    Gets or sets the start.

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

    The start.

    Methods

    Clamp(Double)

    Clamps the specified value within the current Start and End.

    Declaration
    public double Clamp(double value)
    Parameters
    Type Name Description
    System.Double value

    The value.

    Returns
    Type Description
    System.Double

    From<T>(IEnumerable<T>, Func<T, Double>)

    Creates a ScaleRange from the specified data.

    Declaration
    public static ScaleRange From<T>(IEnumerable<T> data, Func<T, double> selector)
    Parameters
    Type Name Description
    IEnumerable<T> data

    The data.

    Func<T, System.Double> selector

    The selector.

    Returns
    Type Description
    ScaleRange
    Type Parameters
    Name Description
    T

    Type of the data item.

    IsEqualTo(ScaleRange)

    Determines whether the current range is equal to the specified one.

    Declaration
    public bool IsEqualTo(ScaleRange range)
    Parameters
    Type Name Description
    ScaleRange range

    The range.

    Returns
    Type Description
    System.Boolean

    true if the ranges are equal; otherwise, false.

    MergeWidth(ScaleRange)

    Merges the width.

    Declaration
    public void MergeWidth(ScaleRange range)
    Parameters
    Type Name Description
    ScaleRange range

    The range.

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT