ResponsiveProfileCollection
Wisej.Base.ResponsiveProfileCollection
Namespace: Wisej.Base
Assembly: Wisej.Framework (2.5.0.0)
Collection of responsive profiles.
Properties
ResponsiveProfile: Returns the current profile.
ResponsiveProfile: Returns the default profile.
ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .
Methods
Adds a new ResponsiveProfile to the collection.
Parameter | Type | Description |
---|---|---|
profile | ResponsiveProfile to add to the collection. |
Adds a list of ResponsiveProfile objects in the collection..
Parameter | Type | Description |
---|---|---|
profiles | List of ResponsiveProfile objects to add to the collection. |
Verifies if the ResponsiveProfile identified by the specified name is present in the collection.
Parameter | Type | Description |
---|---|---|
name | Name of the ResponsiveProfile to locate in the collection. |
Returns: Boolean. True if the collection contains a ResponsiveProfile with the specified name .
Checks if the ResponsiveProfile instance is already present in the collection.
Parameter | Type | Description |
---|---|---|
profile | ResponsiveProfile to find in the collection. |
Returns: Boolean.
Creates ore retrieves a ResponsiveProfile using the specified name .
Parameter | Type | Description |
---|---|---|
name | Name of the ResponsiveProfile to retrieve or to create. |
Returns: ResponsiveProfile. Either an existing ResponsiveProfile with the specified name or a newly created ResponsiveProfile with the specified name .
Inserts a ResponsiveProfile instance into the collection at the specified index .
Parameter | Type | Description |
---|---|---|
index | Position in the collection. | |
profile | ResponsiveProfile to insert in the collection. |
Inserts a collection of ResponsiveProfile instances into the collection starting at the specified index .
Parameter | Type | Description |
---|---|---|
index | Position where to insert the profiles of ResponsiveProfile objects. | |
profiles | Collection of ResponsiveProfile objects to insert in the collection. |
Removes the ResponsiveProfile with the specified name.
Parameter | Type | Description |
---|---|---|
name | Name of the ResponsiveProfile to remove from the collection. |
Last updated