-
Notifications
You must be signed in to change notification settings - Fork 668
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
Update CornerRadiusFilterConverter to work around a TemplateBinding bug #1239
Update CornerRadiusFilterConverter to work around a TemplateBinding bug #1239
Conversation
@MikeHillberg We added some new values to the CornerRadiusFilterKind enum in order to make this work. "TopLeftValue" and "BottomRightValue" will filter out the value and return the result in double type. |
public void CornerRadiusTest() | ||
{ | ||
var button = new Button(FindElement.ByName("GetCheckBoxRectangleCornerRadiusValue")); | ||
button.Click(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend using Invoke() instead of Click() (which is mouse input) for better speed and reliability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Approved with minor suggestion.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
We hit an issue that binding expression like below does not work in C++/CX apps.
Updated CornerRadiusFilterConverter so we can get a double typed CornerRadius value for a specific corner, then updated binding expressions to use converter instead. New expression using converter looks like this
Also added a CornerRadius test page in TestAppCX to test out the changes.