Interface IScrollableViewDefinition
Scrolling configuration shared by every authorable view definition. When a view's content overflows its visible area and Scrollable is on, the view clips the overflow and exposes a scrollbar along ScrollAxis instead of letting content spill off-screen.
Namespace: Serenity.Ui.Domain.Interfaces
Assembly: Serenity.Ui.Domain.dll
Syntax
public interface IScrollableViewDefinition
Remarks
Lives in the Ui domain (not on IViewDefinition) because the axis type
(LayoutScrollAxis) belongs to the Ui domain, which the global domain cannot
reference. Concrete definition types opt in by extending this interface.
Properties
ScrollAxis
The axis along which a scrollable view scrolls its overflowing content.
Declaration
LayoutScrollAxis ScrollAxis { get; }
Property Value
| Type | Description |
|---|---|
| LayoutScrollAxis |
Scrollable
When true, content that overflows this view's visible area scrolls behind a generated scrollbar.
Declaration
bool Scrollable { get; }
Property Value
| Type | Description |
|---|---|
| bool |