All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Responsive

ResponsiveProfile

Wisej.Base.ResponsiveProfile

Namespace: Wisej.Base

Assembly: Wisej.Framework (2.2.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.

public class ResponsiveProfile : ICustomTypeDescriptor, ISerializable, ICloneable
Public Class ResponsiveProfile
    Inherits ICustomTypeDescriptor
    Implements ISerializable, ICloneable

Properties

Name

: Name of the matching responsive profile.

Methods

Clone()

Returns a cloned sharing the same .

Returns: . Clone .

String
ResponsiveProfile
Values
ResponsiveProfile
ResponsiveProfile

ResponsivePropertyAttribute

Wisej.Base.ResponsivePropertyAttribute

Namespace: Wisej.Base

Assembly: Wisej.Framework (2.2.0.0)

Identifies a property as a responsive property. Responsive properties are managed by the ResponsiveProfile class.

public class ResponsivePropertyAttribute : Attribute
Public Class ResponsivePropertyAttribute
    Inherits Attribute

Constructors

ResponsivePropertyAttribute()

Identifies the property as responsive property.

ResponsivePropertyAttribute(enabled)

Enables or disables the responsive property behavior for the property where this attribute is declared.

Name
Type
Description

ResponsivePropertyAttribute(sourceProperty)

Enables or disables the responsive property behavior for the property where this attribute is declared.

Name
Type
Description

ResponsivePropertyAttribute(enabled, sourceProperty)

Enables or disables the responsive property behavior for the property where this attribute is declared.

Name
Type
Description

Properties

IsResponsive

: Returns whether the property allows responsive values.

SourceProperty

: Returns the name of the property to use to read the raw (not inherited) value.

Methods

GetResponsiveAttribute(property)

Returns the attribute associated with property.

Parameter
Type
Description

Returns: . A or null.

IsResponsiveProperty(property)

Returns true if the property is marked responsive.

Parameter
Type
Description

Returns: . True if the property is a responsive property.

ResponsiveProfileCollection

Wisej.Base.ResponsiveProfileCollection

Namespace: Wisej.Base

Assembly: Wisej.Framework (2.2.0.0)

Collection of responsive profiles.

public class ResponsiveProfileCollection : SynchronizedList<>
Public Class ResponsiveProfileCollection
    Inherits SynchronizedList(Of )

Properties

CurrentProfile

ResponsiveProfile: Returns the current profile.

DefaultProfile

ResponsiveProfile: Returns the default profile.

Item(name)

ResponsiveProfile: Returns the ResponsiveProfile identified by the specified name .

Methods

Add(profile)

Adds a new ResponsiveProfile to the collection.

Parameter
Type
Description

profile

to add to the collection.

AddRange(profiles)

Adds a list of ResponsiveProfile objects in the collection..

Parameter
Type
Description

profiles

List of objects to add to the collection.

Contains(name)

Verifies if the ResponsiveProfile identified by the specified name is present in the collection.

Parameter
Type
Description

name

Name of the to locate 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.

Parameter
Type
Description

profile

to find in the collection.

Returns: Boolean.

Create(name)

Creates ore retrieves a ResponsiveProfile using the specified name .

Parameter
Type
Description

name

Name of the to retrieve or to create.

Returns: ResponsiveProfile. Either an existing ResponsiveProfile with the specified name or a newly created ResponsiveProfile with the specified name .

Insert(index, profile)

Inserts a ResponsiveProfile instance into the collection at the specified index .

Parameter
Type
Description

index

Position in the collection.

profile

to insert in the collection.

InsertRange(index, profiles)

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 objects.

profiles

Collection of objects to insert in the collection.

Remove(name)

Removes the ResponsiveProfile with the specified name.

Parameter
Type
Description

name

Name of the to remove from the collection.

SynchronizedList<ResponsiveProfile>
ResponsiveProfileCollection

enabled

Boolean

True to enable the responsive behavior; false to disable it.

sourceProperty

String

Name of the property to use to read the raw (not inherited) value, i.e. Visible = VisibleInternal.

enabled

Boolean

True to enable the responsive behavior; false to disable it.

sourceProperty

String

Name of the property to use to read the raw (not inherited) value, i.e. Visible = VisibleInternal.

property

PropertyDescriptor

Property to check.

property

PropertyDescriptor

Property to check.

Boolean
String
ResponsivePropertyAttribute
ResponsivePropertyAttribute
ResponsivePropertyAttribute
Boolean
ResponsiveProfile
ResponsiveProfile
IEnumerable<ResponsiveProfile>
ResponsiveProfile
String
ResponsiveProfile
ResponsiveProfile
ResponsiveProfile
String
ResponsiveProfile
Int32
ResponsiveProfile
ResponsiveProfile
Int32
ResponsiveProfile
IEnumerable<ResponsiveProfile>
ResponsiveProfile
String
ResponsiveProfile