menu

WPF

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

    Show / Hide Table of Contents

    Class TreeGridValidationHelper

    Represents a class that implements validation behaviors of SfTreeGrid.

    Inheritance
    System.Object
    TreeGridValidationHelper
    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 TreeGridValidationHelper : IDisposable

    Constructors

    TreeGridValidationHelper(SfTreeGrid)

    Initializes a new instance of TreeGridValidationHelper class.

    Declaration
    public TreeGridValidationHelper(SfTreeGrid treeGrid)
    Parameters
    Type Name Description
    SfTreeGrid treeGrid

    The SfTreeGrid.

    Properties

    ActiveGrid

    Gets or sets the reference to the currently active SfTreeGrid during validation.

    Declaration
    public static SfTreeGrid ActiveGrid { get; set; }
    Property Value
    Type Description
    SfTreeGrid

    The reference to the currently active SfTreeGrid.

    IsCurrentCellValidated

    Gets or sets the value that indicates the validation status of current cell.

    Declaration
    public static bool IsCurrentCellValidated { get; }
    Property Value
    Type Description
    System.Boolean

    Returns true if the current cell validation is successful; otherwise, false.

    IsCurrentRowValidated

    Gets or sets the value that indicates the validation status of current row.

    Declaration
    public static bool IsCurrentRowValidated { get; }
    Property Value
    Type Description
    System.Boolean

    Returns true if the current row validation is successful; otherwise, false.

    Methods

    Dispose()

    Releases all the resources used by the TreeGridValidationHelper class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the TreeGridValidationHelper class.

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

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

    SetCurrentCellValidated(Boolean)

    Sets the ActiveGrid and IsCurrentCellValidated value.

    Declaration
    public void SetCurrentCellValidated(bool isCellValidated)
    Parameters
    Type Name Description
    System.Boolean isCellValidated

    Indicates whether the current cell validation is successful.

    SetCurrentRowValidated(Boolean)

    Sets the ActiveGrid and IsCurrentRowValidated value.

    Declaration
    public void SetCurrentRowValidated(bool isRowValidated)
    Parameters
    Type Name Description
    System.Boolean isRowValidated

    Indicates whether the current row validation is successful.

    Implements

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