menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridDynamicPropertiesProvider - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridDynamicPropertiesProvider

    Represents a class to Get / Set value of the underlying dynamic data object which is used by TreeGridView.

    Inheritance
    System.Object
    TreeGridPropertiesProvider
    TreeGridDynamicPropertiesProvider
    Implements
    IPropertyAccessProvider
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    TreeGridPropertiesProvider.Dispose()
    TreeGridPropertiesProvider.GetFormattedValue(Object, String)
    TreeGridPropertiesProvider.TreeGrid
    TreeGridPropertiesProvider.View
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TreeGridDynamicPropertiesProvider : TreeGridPropertiesProvider, IPropertyAccessProvider, IDisposable

    Constructors

    TreeGridDynamicPropertiesProvider(SfTreeGrid, TreeGridView)

    Declaration
    public TreeGridDynamicPropertiesProvider(SfTreeGrid treeGrid, TreeGridView view)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid
    TreeGridView view

    Methods

    Dispose(Boolean)

    Disposes all the resources used by the DynamicPropertiesProvider class.

    Declaration
    protected override void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

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

    Overrides
    TreeGridPropertiesProvider.Dispose(Boolean)

    GetValue(Object, String)

    Gets the property value that is reflected from the specified record.

    Declaration
    public override object GetValue(object record, string propName)
    Parameters
    Type Name Description
    System.Object record

    The corresponding record to get the property value.

    System.String propName

    The corresponding property name to get the value.

    Returns
    Type Description
    System.Object

    Returns the property value for the specified record and property name.

    Overrides
    TreeGridPropertiesProvider.GetValue(Object, String)

    GetValue(Object, String, Boolean)

    Gets the property value from the specified record and property name.

    Declaration
    public override object GetValue(object record, string propName, bool useBindingValue)
    Parameters
    Type Name Description
    System.Object record

    The corresponding record to get the property value.

    System.String propName

    The corresponding property name to get the value.

    System.Boolean useBindingValue

    Specifies whether the property value is reflected either from record or ValueBinding.

    Returns
    Type Description
    System.Object

    Returns the property value for the specified record and property name.

    Overrides
    TreeGridPropertiesProvider.GetValue(Object, String, Boolean)

    SetValue(Object, String, Object)

    Sets the value to particular property in a record.

    Declaration
    public override bool SetValue(object record, string propName, object value)
    Parameters
    Type Name Description
    System.Object record

    The corresponding record to set the value.

    System.String propName

    The corresponding property name to set the value.

    System.Object value

    The corresponding value to set particular property.

    Returns
    Type Description
    System.Boolean

    Returns true if the value is set the particular property in the specified record.

    Overrides
    TreeGridPropertiesProvider.SetValue(Object, String, Object)

    SetValue(Object, String, Object, Boolean)

    Sets the value to particular property in a record.

    Declaration
    public override bool SetValue(object record, string propName, object value, bool useBindingValue)
    Parameters
    Type Name Description
    System.Object record

    The corresponding record to set the value.

    System.String propName

    The corresponding property name to set the value.

    System.Object value

    The corresponding value to set particular property.

    System.Boolean useBindingValue

    Specifies the whether the property value is set to record or ValueBinding.

    Returns
    Type Description
    System.Boolean

    Returns true if the value is set the particular property in the specified record.

    Overrides
    TreeGridPropertiesProvider.SetValue(Object, String, Object, Boolean)

    Implements

    IPropertyAccessProvider
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved