Wisej.Base.ResponsiveProfileCollection
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Collection of responsive profiles.
ResponsiveProfile: Returns the current profile.
ResponsiveProfile: Returns the default profile.
ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .
PropertyDescriptorCollection: Returns the PropertyDescriptor for all the responsive properties in the component.
Dictionary<String, PropertyInfo>:
Adds a new ResponsiveProfile to the collection.
profile
Adds a list of ResponsiveProfile objects in the collection..
profiles
Changes the active profile for the owner component. First saves in the old profile the current value for the property that is going to be changed by the new profile, then applies the new value found in the new profile.
oldName
Old (current) profile name.
newName
New profile name to load.
Verifies if the ResponsiveProfile identified by the specified name is present in the collection.
name
Returns: Boolean. True if the collection contains a ResponsiveProfile with the specified name .
Checks if the ResponsiveProfile instance is already present in the collection.
profile
Returns: Boolean.
Creates ore retrieves a ResponsiveProfile using the specified name .
name
Returns: ResponsiveProfile. Either an existing ResponsiveProfile with the specified name or a newly created ResponsiveProfile with the specified name .
Returns the value of the specified property in the default profile.
name
Name of the property to read.
Returns: Object.
Inserts a ResponsiveProfile instance into the collection at the specified index .
index
Position in the collection.
profile
Inserts a collection of ResponsiveProfile instances into the collection starting at the specified index .
index
profiles
Loads the responsive properties descriptors.
properties
Property list containing responsive properties.
Loads the responsive properties descriptors.
properties
Property list containing responsive properties.
type
Component type. Needed to determine the alternative property getters.
Removes the ResponsiveProfile with the specified name.
name
Removes the specified property from the default profile.
name
Name of the property to remove.
Saves the specified value in the default profile.
name
Name of the property to write.
value
Property value to store in the default profile.
Returns true if the specified value in the default profile should be serialized.
name
Name of the property to check.
Returns: Boolean.
Returns true if the specified profile contains values that should be serialized.
name
Name of the profile to check.
Returns: Boolean.
to add to the collection.
List of objects to add to the collection.
Name of the to locate in the collection.
to find in the collection.
Name of the to retrieve or to create.
to insert in the collection.
Position where to insert the profiles of objects.
Collection of objects to insert in the collection.
Name of the to remove from the collection.