WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConversionExtensions

    Show / Hide Table of Contents

    Class ConversionExtensions

    Inheritance
    System.Object
    ConversionExtensions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    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 Description
    System.Nullable<System.Int64>
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved