tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ExpandAttribute Class Reference

Affects whether this data will be expanded by default. The default value currently is true. Use the constructor with 2 parameters to control if list elements should be collapsed or expanded. More...

Inherits Attribute.

Public Member Functions

 ExpandAttribute (bool expand=true)
 
 ExpandAttribute (bool expand=true, bool expandListElements=true)
 

Properties

bool Expand [get]
 
bool? ExpandListElements [get]
 

Detailed Description

Affects whether this data will be expanded by default. The default value currently is true. Use the constructor with 2 parameters to control if list elements should be collapsed or expanded.