menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class StringExtensions - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class StringExtensions

    Inheritance
    System.Object
    StringExtensions
    Namespace: Syncfusion.Data.Extensions
    Assembly: Syncfusion.Data.Portable.dll
    Syntax
    public static class StringExtensions : Object

    Methods

    FormatByName(String, IDictionary<String, Object>)

    Formats the given string values.

    Declaration
    public static string FormatByName(this string format, IDictionary<string, object> values)
    Parameters
    Type Name Description
    System.String format
    System.Collections.Generic.IDictionary<System.String, System.Object> values
    Returns
    Type Description
    System.String

    The formatted string values.

    FormatByName(String, IFormatProvider, IDictionary<String, Object>)

    Formats the given string values using format provider.

    Declaration
    public static string FormatByName(this string format, IFormatProvider provider, IDictionary<string, object> values)
    Parameters
    Type Name Description
    System.String format
    System.IFormatProvider provider
    System.Collections.Generic.IDictionary<System.String, System.Object> values
    Returns
    Type
    System.String

    FormatByName(String, IFormatProvider, Func<String, Object>)

    Formats the given string values using format provider.

    Declaration
    public static string FormatByName(this string format, IFormatProvider provider, Func<string, object> valueProvider)
    Parameters
    Type Name Description
    System.String format
    System.IFormatProvider provider
    System.Func<System.String, System.Object> valueProvider
    Returns
    Type Description
    System.String

    The string formatted according to format.

    ParseFormat(String, Boolean, Dictionary<String, PropertyDescriptor>, out String, out PropertyDescriptor[])

    Parses the format of the given string.

    Declaration
    public static void ParseFormat(this string value, bool raiseException, Dictionary<string, PropertyDescriptor> propertyDescriptionCollection, out string result, out PropertyDescriptor[] propertyDescriptor)
    Parameters
    Type Name Description
    System.String value
    System.Boolean raiseException
    System.Collections.Generic.Dictionary<System.String, System.ComponentModel.PropertyDescriptor> propertyDescriptionCollection
    System.String result
    System.ComponentModel.PropertyDescriptor[] propertyDescriptor
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved