Skip to content

[Windows] Setting a ContentView with a content of StaticResource Style Causes a System.Runtime.InteropServices.COMException. #29930

Open
@Ahamed-Ali

Description

@Ahamed-Ali

Description

I have embedded a ContentView that uses a content of StaticResource-based style inside a main ContentView. When I dynamically change the inner ContentView on a button click, it throws a System.Runtime.InteropServices.COMException.

ContentViewException.mp4

`
A video demonstrating the issue is provided below

Steps to Reproduce

  1. Deploy the below sample
  2. click the button to observe the crash in windows

ContentViewException.zip

Link to public reproduction project repository

No response

Version with bug

9.0.70

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions