ResponsivePropertyAttribute
Wisej.Base.ResponsivePropertyAttribute
Namespace: Wisej.Base
Assembly: Wisej.Framework (2.5.0.0)
Identifies a property as a responsive property. Responsive properties are managed by the ResponsiveProfile class.
public class ResponsivePropertyAttribute : 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.
ResponsivePropertyAttribute(sourceProperty)

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.
ResponsivePropertyAttribute(enabled, sourceProperty)

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

Boolean: Returns whether the property allows responsive values.
SourceProperty

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

Returns the ResponsivePropertyAttribute attribute associated with property.
Returns: ResponsivePropertyAttribute. A ResponsivePropertyAttribute or null.
IsResponsiveProperty(property)

Returns true if the property is marked responsive.
Returns: Boolean. True if the property is a responsive property.
Last updated
Was this helpful?