Skip to content

StrokeLineCap values have no effect on Windows platform #29741

@HarishKumarSF4517

Description

@HarishKumarSF4517

Description

When using the StrokeLineCap property with values such as Flat, Round, or Square in a .NET MAUI application, the expected stroke cap styles are rendered correctly on Android, iOS, and macOS. However, on Windows, the property appears to have no visual impact—the stroke ends look the same regardless of the value set.
Android:
Image
Windows:

Image

Steps to Reproduce

  1. Launch the application using the given sample - BorderSample.zip

  2. Run the application in Android and Windows platform. The Values does not have effect on Windows

Expected Output:

  • Stroke line caps should render based on the specified value.

Actual Output:

  • Stroke caps do not change—appear flat regardless of StrokeLineCap value.

Link to public reproduction project repository

No response

Version with bug

10.0.0-preview.4

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions