menu

WPF

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

    Show / Hide Table of Contents

    Class TreeGridRowControl

    Represents a class that maintains the common functionalities of Row control in SfTreeGrid.

    Inheritance
    System.Object
    TreeGridElement
    TreeGridRowControlBase
    TreeGridRowControl
    Implements
    System.IDisposable
    Inherited Members
    TreeGridElement.SelectionBackground
    TreeGridElement.SelectionBackgroundProperty
    TreeGridElement.SelectionForeground
    TreeGridElement.SelectionForegroundProperty
    TreeGridRowControlBase.DataRow
    TreeGridRowControlBase.DataRowProperty
    TreeGridRowControlBase.Dispose()
    TreeGridRowControlBase.Dispose(Boolean)
    TreeGridRowControlBase.ItemsPanel
    TreeGridRowControlBase.OnCreateAutomationPeer()
    TreeGridRowControlBase.OnLoaded(Object, RoutedEventArgs)
    TreeGridRowControlBase.OnSizeChanged(Object, SizeChangedEventArgs)
    TreeGridRowControlBase.SetContent()
    TreeGridRowControlBase.UnwireEvents()
    TreeGridRowControlBase.WireEvents()
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class TreeGridRowControl : TreeGridRowControlBase, IDisposable

    Constructors

    TreeGridRowControl()

    Initializes a new instance of TreeGridRowControl class.

    Declaration
    public TreeGridRowControl()

    Fields

    IndentMarginProperty

    Dependency registration for IndentMargin.

    Declaration
    public static readonly DependencyProperty IndentMarginProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    IndentMargin

    Gets or sets a margin value to avoid the overlapping in Indent Cell and excluding expander based on level.

    Declaration
    public Thickness IndentMargin { get; set; }
    Property Value
    Type
    System.Windows.Thickness
    Remarks

    It is used in Selection border and background border.

    Methods

    OnApplyTemplate()

    Invoked to apply template for TreeGridRowControl.

    Declaration
    public override void OnApplyTemplate()
    Overrides
    TreeGridRowControlBase.OnApplyTemplate()

    UpdatedSelectionState(Boolean)

    Updates the visual state of the Row depending on whether the row is selected or focused.

    Declaration
    protected void UpdatedSelectionState(bool canApplyDefaultState = true)
    Parameters
    Type Name Description
    System.Boolean canApplyDefaultState

    Indicating whether default visual state can be applied or not.

    Implements

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