Skip to content

Why Canvas.SetRight never work when Canvas.SetLeft once set? #16230

Answered by maxkatz6
kyuranger asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't debug it, but I assume that's because you leave "0" value there, which is still a valid coordinate value.
If you want to clear LeftProperty and set RigthProperty instead, you should call B.ClearProperty(Canvas.LeftProperty)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kyuranger
Comment options

@maxkatz6
Comment options

@kyuranger
Comment options

@BAndysc
Comment options

Answer selected by kyuranger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants