Skip to content

public EventArgs with internal properties #25563

Open

Description

Description

Both Microsoft.Maui.Controls.Page, NavigatedTo and NavigatedFrom events are public, and their EventArgs NavigatedToEventArgs, and NavigatedFrom are public, yet their sole property's PreviousPage and DestinationPage are internal making them inaccessible and the event less useful without the available arguments.

Steps to Reproduce

  1. open Microsoft.Maui.Controls.NavigatedFromEventArgs or Microsoft.Maui.Controls.NavigatedToEventArgs
  2. observe their corresponding Page properties are internal.

Link to public reproduction project repository

No response

Version with bug

8.0.91 SR9.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

NA

Did you find any workaround?

No

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions