ResponsiveProfileCollection
Wisej.Base.ResponsiveProfileCollection
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Collection of responsive profiles.
Properties
Component

CurrentProfile

ResponsiveProfile: Returns the current profile.
DefaultProfile

ResponsiveProfile: Returns the default profile.
Item(name)

ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .
Properties

PropertyDescriptorCollection: Returns the PropertyDescriptor for all the responsive properties in the component.
SourceProperties

Dictionary<String, PropertyInfo>:
Methods
Add(profile)

Adds a new ResponsiveProfile to the collection.
AddRange(profiles)

Adds a list of ResponsiveProfile objects in the collection..
Change(oldName, newName)

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.
Contains(name)

Verifies if the ResponsiveProfile identified by the specified name is present in the collection.
Returns: Boolean. True if the collection contains a ResponsiveProfile with the specified name .
Contains(profile)

Checks if the ResponsiveProfile instance is already present in the collection.
Returns: Boolean.
Create(name)

Creates ore retrieves a ResponsiveProfile using the specified name .
Returns: ResponsiveProfile. Either an existing ResponsiveProfile with the specified name or a newly created ResponsiveProfile with the specified name .
GetDefaultValue(name)

Returns the value of the specified property in the default profile.
Returns: Object.
Insert(index, profile)

Inserts a ResponsiveProfile instance into the collection at the specified index .
InsertRange(index, profiles)

Inserts a collection of ResponsiveProfile instances into the collection starting at the specified index .
profiles
Collection of ResponsiveProfile objects to insert in the collection.
LoadProperties(properties)

Loads the responsive properties descriptors.
LoadProperties(properties, type)

Loads the responsive properties descriptors.
Remove(name)

Removes the ResponsiveProfile with the specified name.
ResetDefaultValue(name)

Removes the specified property from the default profile.
SetDefaultValue(name, value)

Saves the specified value in the default profile.
ShouldSerializeDefaultValue(name)

Returns true if the specified value in the default profile should be serialized.
Returns: Boolean.
ShouldSerializeProfile(name)

Returns true if the specified profile contains values that should be serialized.
Returns: Boolean.
Last updated
Was this helpful?