All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Responsive

ResponsiveProfileCollection

Wisej.Base.ResponsiveProfileCollection

Namespace: Wisej.Base

Assembly: Wisej.Framework (2.2.0.0)

  • SynchronizedList<ResponsiveProfile>

    • ResponsiveProfileCollection

Collection of responsive profiles.

Properties

CurrentProfile

: Returns the current profile.

DefaultProfile

: Returns the default profile.

Item(name)

: Returns the identified by the specified name .

Methods

Add(profile)

Adds a new to the collection.

Parameter
Type
Description

AddRange(profiles)

Adds a list of objects in the collection..

Parameter
Type
Description

Contains(name)

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

Parameter
Type
Description

Returns: . True if the collection contains a with the specified name .

Contains(profile)

Checks if the instance is already present in the collection.

Parameter
Type
Description

Returns: .

Create(name)

Creates ore retrieves a using the specified name .

Parameter
Type
Description

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

Insert(index, profile)

Inserts a instance into the collection at the specified index .

Parameter
Type
Description

InsertRange(index, profiles)

Inserts a collection of instances into the collection starting at the specified index .

Parameter
Type
Description

Remove(name)

Removes the with the specified name.

Parameter
Type
Description

profile

ResponsiveProfile

ResponsiveProfile to add to the collection.

profiles

IEnumerable<ResponsiveProfile>

List of ResponsiveProfile objects to add to the collection.

name

String

Name of the ResponsiveProfile to locate in the collection.

profile

ResponsiveProfile

ResponsiveProfile to find in the collection.

name

String

Name of the ResponsiveProfile to retrieve or to create.

index

Int32

Position in the collection.

profile

ResponsiveProfile

ResponsiveProfile to insert in the collection.

index

Int32

Position where to insert the profiles of ResponsiveProfile objects.

profiles

IEnumerable<ResponsiveProfile>

Collection of ResponsiveProfile objects to insert in the collection.

name

String

Name of the ResponsiveProfile to remove from the collection.

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

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.

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