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

Constructors

Identifies the property as responsive property.

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

NameTypeDescription

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.

NameTypeDescription

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.

NameTypeDescription

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.

Properties

Boolean: Returns whether the property allows responsive values.

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

Methods

Returns the ResponsivePropertyAttribute attribute associated with property.

ParameterTypeDescription

property

Property to check.

Returns: ResponsivePropertyAttribute. A ResponsivePropertyAttribute or null.

Returns true if the property is marked responsive.

ParameterTypeDescription

property

Property to check.

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

Last updated