Skip to content

Expanded Property

See Also

See Also


Description

Specifies if the expand/collapse button is expanded if an expand/collapse button exists.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Expanded() As Boolean

Remarks

If a GridRecord has children and the TreeColumn property of the GridColumn that the record is in is True, then an expand/collapse button will be drawn. The button can be pressed to display/hide the child GridRecords.

Example

Expanded Sample (Visual Basic)

This sample illustrates how to determine if a record/row has been expanded/collapsed.

' This code will tell us if the 1st record/row is expanded  
Debug.Print wndGridControl.Records(0).Expanded  

' This is another way to access the same data.  
' This code will tell us if the 1st record/row is expanded  
Debug.Print wndGridControl.Rows(0).Expanded  

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.