Skip to content

CollapsibleAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Used to specify a target is collapsible. Commonly used with form categories to make them collapsible.

[AttributeUsage(AttributeTargets.All)]
public class CollapsibleAttribute : Attribute
parameter description
value if set to true target is collapsible.

Public Members

name description
CollapsibleAttribute(…) Used to specify a target is collapsible. Commonly used with form categories to make them collapsible.
Collapsed { get; set; } Gets or sets a value indicating whether the target is initially collapsed. Default is false.
Value { get; } Gets a value indicating whether this CollapsibleAttribute is enabled.

Remarks

Initializes a new instance of the CollapsibleAttribute class.

See Also