Class ExpandStateChangeEventArgs
Provides data for the ExpandStateChange event.
Inherited Members
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public sealed class ExpandStateChangeEventArgs : EventArgs
Constructors
ExpandStateChangeEventArgs(string, object?, bool, ExpandStateChangeSource)
Initializes a new instance of the ExpandStateChangeEventArgs class.
Declaration
public ExpandStateChangeEventArgs(string nodeId, object? dataItem, bool isExpanded, ExpandStateChangeSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| string | nodeId | |
| object | dataItem | |
| bool | isExpanded | |
| ExpandStateChangeSource | source |
Properties
DataItem
Gets the bound data item, or null for manual nodes.
Declaration
public object? DataItem { get; }
Property Value
| Type |
|---|
| object |
IsExpanded
Gets a value indicating whether the node is now expanded.
Declaration
public bool IsExpanded { get; }
Property Value
| Type |
|---|
| bool |
NodeId
Gets the ID of the node whose expand state changed.
Declaration
public string NodeId { get; }
Property Value
| Type |
|---|
| string |
Source
Gets what caused the change.
Declaration
public ExpandStateChangeSource Source { get; }
Property Value
| Type |
|---|
| ExpandStateChangeSource |