NumberExtensions Class

Provides extension methods for numeric types to convert them to pixel values.

Inheritance

Object

NumberExtensions

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public static class NumberExtensions

Methods

ToPxlink

Converts a double value to a string representation in pixels (px).

Declaration
public static string ToPx(double value)
Parameters
Type Name Description
double value
Returns
Type Description
string
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙