The following tables list the members exposed by LayoutItemsCollection.
Name | Description | |
---|---|---|
LayoutItemsCollection Constructor | Constructor. |
Name | Description | |
---|---|---|
LayoutItems | Layout items. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds an item to be managed by this layout manager. It uses null as the constraint so the underlying layout manager must support null constraints. | |
Clear | Removes all the items. | |
Contains | Returns true if the passed in item contained in this layout manager. | |
CopyTo | Copies the items from the collection into the array. | |
GetConstraint | Returns the constraint object associated with the item. Throws an exception if the item does not exist (ie. it hasn't been added through AddLayoutItem method has been removed). | |
GetItem | Gets the item at specified index. | |
IndexOf | Retruns the index of the passed in item in the layout items collection. | |
Insert | Overloaded. Inserts the item at specified index. It uses null as the constraint so the underlying layout manager must support null constraints. | |
Remove | Removes an item from this layout manager if it exists. | |
RemoveAt | Removes the item at specified index. | |
SetConstraint | Sets the constraint for the item. If the item doesn't exist in the collection, its added. |