alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TreeGridPropertiesProvider

    Implements IPropertyAccessProvider to Get / Set value on the underlying object which is used by CollectionViewAdv.

    Inheritance
    object
    TreeGridPropertiesProvider
    TreeGridDynamicPropertiesProvider
    Implements
    IPropertyAccessProvider
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.TreeGrid
    Assembly: Syncfusion.Maui.TreeGrid.dll
    Syntax
    public class TreeGridPropertiesProvider : IPropertyAccessProvider, IDisposable

    Constructors

    TreeGridPropertiesProvider(SfTreeGrid, TreeGridView)

    Initializes a new instance of TreeGridPropertiesProvider class with specified treeGrid and TreeGridView.

    Declaration
    [UnconditionalSuppressMessage("Trimming", "IL2075:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The TreeGridPropertiesProvider class is not trim compatible")]
    public TreeGridPropertiesProvider(SfTreeGrid treeGrid, TreeGridView view)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid

    The specified SfTreeGrid.

    TreeGridView view

    The specified TreeGridView.

    Properties

    TreeGrid

    Gets or sets the SfTreeGrid.

    Declaration
    protected SfTreeGrid? TreeGrid { get; set; }
    Property Value
    Type
    SfTreeGrid

    View

    Gets or sets the TreeGridView.

    Declaration
    protected TreeGridView? View { get; set; }
    Property Value
    Type
    TreeGridView

    Methods

    Dispose()

    Disposes all the resources used by the TreeGridPropertiesProvider class.

    Declaration
    public void Dispose()

    Dispose(bool)

    Disposes all the resources used by the TreeGridPropertiesProvider class.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    bool isDisposing

    Indicates whether the call is from Dispose method or from a finalizer.

    GetFormattedValue(object, string)

    Gets the Formatted value.

    Declaration
    public virtual object? GetFormattedValue(object record, string propName)
    Parameters
    Type Name Description
    object record

    The record.

    string propName

    Name of the prop.

    Returns
    Type
    object

    GetValue(object, string)

    Gets the value.

    Declaration
    [UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The GetValue method is not trim compatible")]
    public virtual object? GetValue(object record, string propertyName)
    Parameters
    Type Name Description
    object record

    The record.

    string propertyName

    Name of the prop.

    Returns
    Type
    object

    GetValue(object, string, bool)

    Gets the value.

    Declaration
    public virtual object? GetValue(object record, string propName, bool useBindingValue)
    Parameters
    Type Name Description
    object record

    The record.

    string propName

    Name of the prop.

    bool useBindingValue

    If true,then use binding value

    Returns
    Type
    object

    SetValue(object, string, object)

    Sets the value.

    Declaration
    [UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The SetValue method is not trim compatible")]
    public virtual bool SetValue(object record, string propName, object value)
    Parameters
    Type Name Description
    object record

    The record.

    string propName

    Name of the prop.

    object value

    The value.

    Returns
    Type
    bool

    SetValue(object, string, object, bool)

    Sets the value.

    Declaration
    public virtual bool SetValue(object record, string propName, object value, bool useBindingValue)
    Parameters
    Type Name Description
    object record

    The record.

    string propName

    Name of the prop.

    object value

    value

    bool useBindingValue

    If true,then use binding value

    Returns
    Type
    bool

    Implements

    IPropertyAccessProvider
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved