-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
MahApps 2.0 ToggleSwitch and Coded UI Missing InOn/IsChecked State Property #3770
Comments
Many thanks for posting this issue. Can you provide your sample App via Github? It may be very useful for Analyzing the issue. Happy coding |
I can do that, did you need a CodedUI sample project as well or just the sample app? |
Hi @SheriSteeves , Happy coding, |
Hi @timunie, I've uploaded the project here: https://github.com/SheriSteeves/MapApps-ToggleTest |
@SheriSteeves I found a possible bug for this and tried to fix it. |
Wow, thanks for the quick turnaround! Will the alpha be updated via Nuget with this or should I download and build it my self? I've only access to v2.0.0-alpha0748 through the Visual Studio package manager right now. |
@SheriSteeves You can use the appveyor NuGet feed https://ci.appveyor.com/nuget/mahapps.metro |
@SheriSteeves I got this with VisualUIAVerifyNative. And I read about thet Coded UI is obsolete. |
This is a followup to #3690. The new ToggleSwitch now populates the AutomationId, Name and FriendlyName based on the names I have set in my XML but there is no property to test the state of the toggle.
The properties shown are the same when the thumb indicator is selected:
I tested this using a small test WPF app in VS2017 using the pre-release v2.0.0-alpha0748 and .NET 4.5.2.
The text was updated successfully, but these errors were encountered: