Skip to content

Control's Loaded event invokes before calling its measure override method. #14160

@ashok-kuvaraja

Description

@ashok-kuvaraja

Description

I have a custom label with additional properties that need to be initialized inside the measure override, and I also need to access those properties when the control is fully loaded. However, the loaded event for the label is being called before invoking its measure override method, causing issues with my use case. This issue is occurring only on the Android platform. Please investigate and resolve this problem.

Steps to Reproduce

  1. Run the attached sample.
  2. You can see the text "Label is not measured when invoking its loaded event" on screen in the Android platform

image

Link to public reproduction project repository

https://github.com/ashok-kuvaraja/maui-sample

Version with bug

6.0.486

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Checked version is Android 10

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions