Home » FAQ » .NET MAUI » What’s the difference between stroke and background for a border in .NET MAUI?
Stroke sets the color of the border’s outline, while background sets the color of the background inside the border.XAML:
<Border x:Name="border" Stroke="Red" Background="Yellow"/>
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with