All pages
Powered by GitBook
1 of 1

Loading...

ResponsivePropertyAttribute

Wisej.Base.ResponsivePropertyAttribute

Namespace: Wisej.Base

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