Optional: When creating a new folder, an alias is automatically generated from the supplied name for you. However, if you need a specific alias you can use the SetAlias method to override this.
// ExamplefolderConfig.SetAlias("settings");
Changing a folder icon color
SetIconColor(string color) : FolderConfigBuilder
Sets the folder icon color to the given color. The options that are possible are black, green, yellow, orange, blue or red.
Adds a collection to the current folder with the given names, descriptions, and default icons. An ID property accessor expression is required so that Umbraco UI Builder knows which property is the ID property. For more information check the Collections documentation.
// ExamplefolderConfig.AddCollection<Person>(p =>p.Id,"Person","People","A collection of people", collectionConfig => {...});
Adds a collection to the current folder with the given names, description and icons. An ID property accessor expression is required so that Umbraco UI Builder knows which property is the ID property. For more information check the Collections documentation.
// ExamplefolderConfig.AddCollection<Person>(p => p.Id, "Person", "People", "A collection of people", "icon-umb-users", "icon-umb-users", collectionConfig => {
...});