[]
Represents a collection of ContentControl items.
public class ContentControlCollection : ContentObjectCollection<ContentControl>, IContentList<ContentControl>, IReadOnlyList<ContentControl>, IReadOnlyCollection<ContentControl>, IEnumerable<ContentControl>, IEnumerable
Adds a ContentControl into the collection at the End location.
public ContentControl Add(ContentControlType type, bool fillContent = true)
type
ContentControlTypeThe new content control type.
fillContent
boolWhether to fill the new control content with default data.
The added ContentControl.
Inserts a ContentControl into the collection at the specified location.
public ContentControl Insert(ContentControlType type, InsertLocation location, bool fillContent = true)
type
ContentControlTypeThe new content control type.
location
InsertLocationThe target InsertLocation for the insertion.
fillContent
boolWhether to fill the new control content with default data.
The inserted ContentControl.