menu

WPF

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

    Show / Hide Table of Contents

    Class ConversionExtensions

    Inheritance
    System.Object
    ConversionExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.WPF.dll
    Syntax
    public static class ConversionExtensions

    Methods

    ConvertToDecimalNull(String)

    Convert string to Decimal

    Declaration
    public static decimal? ConvertToDecimalNull(this string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type
    System.Nullable<System.Decimal>

    ConvertToDoubleNull(String, CultureInfo, NumberFormatInfo)

    Convert String to DecimalNull with Culture

    Declaration
    public static double? ConvertToDoubleNull(this string text, CultureInfo culture, NumberFormatInfo numberformat)
    Parameters
    Type Name Description
    System.String text
    System.Globalization.CultureInfo culture
    System.Globalization.NumberFormatInfo numberformat
    Returns
    Type
    System.Nullable<System.Double>

    ConvertToInt64Null(String)

    Convert string to Int64Null

    Declaration
    public static long? ConvertToInt64Null(this string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type
    System.Nullable<System.Int64>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved