Wisej.Base.ResponsivePropertyAttribute
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Identifies a property as a responsive property. Responsive properties are managed by the ResponsiveProfile class.
Identifies the property as responsive property.
Enables or disables the responsive property behavior for the property where this attribute is declared.
enabled
True to enable the responsive behavior; false to disable it.
Enables or disables the responsive property behavior for the property where this attribute is declared.
sourceProperty
Name of the property to use to read the raw (not inherited) value, i.e. Visible = VisibleInternal.
Enables or disables the responsive property behavior for the property where this attribute is declared.
enabled
True to enable the responsive behavior; false to disable it.
sourceProperty
Name of the property to use to read the raw (not inherited) value, i.e. Visible = VisibleInternal.
Boolean: Returns whether the property allows responsive values.
String: Returns the name of the property to use to read the raw (not inherited) value.
Returns the ResponsivePropertyAttribute attribute associated with property.
property
Property to check.
Returns: ResponsivePropertyAttribute. A ResponsivePropertyAttribute or null.
Returns true if the property is marked responsive.
property
Property to check.
Returns: Boolean. True if the property is a responsive property.
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.
Wisej.Base.ResponsiveProfile
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Provides properties that specify how the control should adapt itself to a specific responsive profile break. When serialized into the containers .resx it serializes the collection of property names and values associated with this responsive profile.
String: Name of the matching responsive profile.
ResponsiveProfileCollection: Returns or sets the collection that owns this profile.
Dictionary<String, Object>: Creates and returns the value collection.
Returns a cloned ResponsiveProfile sharing the same Values.
Returns: ResponsiveProfile. Clone ResponsiveProfile.
Ensures that all the values in this responsive profile have a corresponding property descriptor. it's necessary to create the extended property descriptors for properties provided by the extenders.
Returns the responsive property value.
name
Name of the property to retrieve the value for.
Returns: Object.
Checks if this profile should get serialized.
Returns: Boolean.
Removes the property value.
name
Name of the property to remove.
Sets the responsive property value.
name
Name of the property to save.
value
Value to save in relation to the property.
providerName
Name of the IExtenderProvider that implements the property, or null.
Checks whether the specified property should be serialized.
name
Name of the property to check.
Returns: Boolean.
Updates the responsive properties in the component using the values stored in this profile.
exclude
Updates the values in this profile using the responsive properties from the component.
newProfile
Optional null profile. When indicated, we update only the values that would be overridden by the values in newProfile.
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.