menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextCaseConverter - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextCaseConverter

    This class converts text value to casing text value

    Inheritance
    System.Object
    TextCaseConverter
    Implements
    Microsoft.Maui.Controls.IValueConverter
    Namespace: Syncfusion.Maui.Core.Converters
    Assembly: Syncfusion.Maui.Core.dll
    Syntax
    public class TextCaseConverter : Object, IValueConverter

    Constructors

    TextCaseConverter()

    Declaration
    public TextCaseConverter()

    Properties

    CasingMode

    Get and sets the required text case using the CasingMode enum class.

    Declaration
    public CasingMode CasingMode { get; set; }
    Property Value
    Type
    CasingMode

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Converts text value to an casing text value.

    Declaration
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value

    The value must be the type of string

    System.Type targetType

    The type of the target property

    System.Object parameter

    An additional parameter for the converter to handle, not used

    System.Globalization.CultureInfo culture

    The culture to use in the converter, not used

    Returns
    Type Description
    System.Object

    Returns the casing string value of the string

    ConvertBack(Object, Type, Object, CultureInfo)

    Converts back is impossible to revert to original value

    Declaration
    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value
    System.Type targetType
    System.Object parameter
    System.Globalization.CultureInfo culture
    Returns
    Type
    System.Object
    Exceptions
    Type Condition
    System.NotSupportedException

    Implements

    Microsoft.Maui.Controls.IValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved