How do I create a border with the dashed or custom border style?

Platform: .NET MAUI|Category: General

To create a border with a custom border style, use a combination of elements and/or shapes within the Grid or AbsoluteLayout. There’s no built-in dashed border style in .NET MAUI.