Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port ViewDebugger #332

Closed
6 tasks
Xiaoy312 opened this issue Sep 23, 2022 · 1 comment
Closed
6 tasks

port ViewDebugger #332

Xiaoy312 opened this issue Sep 23, 2022 · 1 comment
Labels
kind/enhancement New feature or request.

Comments

@Xiaoy312
Copy link
Contributor

What would you like to be added:

unoplatform/uno.extensions@main/src/Uno.Extensions.Reactive.UI/Utils/ViewDebugger

Why is this needed:

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renders for Xamarin.Forms
  • Windows
  • Build tasks

Anything else we need to know?

add [Conditional("DEBUG")] on the setters

@Xiaoy312 Xiaoy312 added the kind/enhancement New feature or request. label Sep 23, 2022
@Xiaoy312
Copy link
Contributor Author

summary:
contract:

  • as-is;
  •   ViewDebugger
      	.IsEnabled = (bool)					// flag to active: AvailableVisualStates and CurrentVisualStates
      	.AvailableVisualStates = (string)	// [get-only] list the available visual-states defined in the ControlTemplate or the template root.
      		^ eg: "CommonStates: Normal, PointerOver, Pressed, Disabled; FocusStates: Focused, PointerFocused, Unfocused;"
      	.CurrentVisualStates = (string)		// semi-colon-separated list of active state in each of defined VisualStateGroup; can be set to force a control to enter specific state
      		^ eg: "Disabled;Unfocused", "Disabled" (only update the CommonStates)
    

@Xiaoy312 Xiaoy312 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant