menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Delegate TryParseMethod<T> - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Delegate TryParseMethod<T>

    Gets a value indicating whether the specified value can be converted into desired type.

    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public delegate bool TryParseMethod<T>(string input, out T value);
    Parameters
    Type Name Description
    System.String input

    The string value

    T value

    The converted value.

    Returns
    Type Description
    System.Boolean

    true if the conversion can takes place; otherwise false.

    Type Parameters
    Name Description
    T

    The corresponding type.

    Constructors

    TryParseMethod(Object, IntPtr)

    Declaration
    public TryParseMethod(object object, IntPtr method)
    Parameters
    Type Name Description
    System.Object object
    System.IntPtr method

    Methods

    BeginInvoke(String, out T, AsyncCallback, Object)

    Declaration
    public virtual IAsyncResult BeginInvoke(string input, out T value, AsyncCallback callback, object object)
    Parameters
    Type Name Description
    System.String input
    T value
    System.AsyncCallback callback
    System.Object object
    Returns
    Type
    System.IAsyncResult

    EndInvoke(out T, IAsyncResult)

    Declaration
    public virtual bool EndInvoke(out T value, IAsyncResult result)
    Parameters
    Type Name Description
    T value
    System.IAsyncResult result
    Returns
    Type
    System.Boolean

    Invoke(String, out T)

    Declaration
    public virtual bool Invoke(string input, out T value)
    Parameters
    Type Name Description
    System.String input
    T value
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved