.NET MAUI Accordion Item Spacing
Through the Spacing
(double
) property, you can specify the distance between the Accordion items. The default value is 0.
Example
The snippet below shows how the Spacing
property can be applied:
The image below shows the result after running the snippet:
And the Accordion when all items are collapsed:
A sample Item Spacing example can be found in the Accordion/Features folder of the SDK Samples Browser application.