ScrollArea
Augments native scroll functionality for custom, cross-browser styling.
Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester. And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.
And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop. The king was left to rule a kingdom of people who were always laughing, and he didn't know whether to be happy or furious.
The king was left to rule a kingdom of people who were always laughing, and he didn't know whether to be happy or furious. The king was furious, but he couldn't seem to stop Jokester.
Examples
Horizontal
Add a <ScrollBar Orientation="Orientation.Horizontal" />
inside ScrollArea to enable horizontal scrolling.
Always Visible
Use Type="ScrollAreaType.Always" to keep the scrollbar permanently visible.
Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester. And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh.
And once they started laughing, they couldn't stop. The king was left to rule a kingdom of people who were always laughing, and he didn't know whether to be happy or furious.
Auto
Use Type="ScrollAreaType.Auto" to show the scrollbar only when content overflows.
Short content.
This content is tall enough to overflow the container and trigger the scrollbar to appear automatically without any hover needed.
Dynamic configuration
Cycle through Hover, Scroll, Auto, and Always without remounting. Conditional horizontal scrollbar registration refreshes the same instance.