bool StartFolded { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The StartFolded property of the GroupAttribute class determines whether a group should initially appear in a collapsed state. When set to true, the group will start closed, providing a cleaner and more organized view by default. This can be particularly useful in user interfaces where space is limited or when you want to emphasize certain sections over others.

Usage

To use the StartFolded property, apply the GroupAttribute to a class or member and set the StartFolded property to true or false depending on whether you want the group to start in a folded state.

Example

[Group("Settings", StartFolded = true)]
public class MySettings
{
    // Properties and methods for the settings
}