menu

WPF

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

    Show / Hide Table of Contents

    Class TreeGridModel

    Inheritance
    System.Object
    TreeGridModel
    Implements
    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()
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TreeGridModel : IDisposable

    Constructors

    TreeGridModel(SfTreeGrid)

    Represents a wrapper class for SfTreeGrid control to handle the collection and view related operations.

    Declaration
    public TreeGridModel(SfTreeGrid treeGrid)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid
    Remarks

    TreeGridModel class listens to the collection changes in a SfTreeGrid control and responds to them. It updates the View in response to the collection changes.

    Methods

    Dispose()

    Releases all the resources used by the TreeGridModel class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the TreeGridModel class.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

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

    FilterColumn(TreeGridColumn, List<FilterPredicate>)

    Applies the created filter predicates to the corresponding column.

    Declaration
    public void FilterColumn(TreeGridColumn column, List<FilterPredicate> filterPredicates)
    Parameters
    Type Name Description
    TreeGridColumn column

    The Column to be filtered.

    System.Collections.Generic.List<FilterPredicate> filterPredicates

    The Filter predicates collection to perform filtering.

    RefreshDataRows()

    Refreshes the DataRows in view when the grid operations is performed.

    Declaration
    public void RefreshDataRows()

    Implements

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