Replies: 2 comments 1 reply
-
|
Are you looking for: |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I would imagine I know it would complicate renderer a lot but would be nice one day. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had to solve a problem with a custom control where there is a single
BorderThicknessproperty but the content around which this applies can change orientations/positions -- likeDockPanel. The problem arises when content changes positions between left/right/etc. I don't want the same border thicknesses. Actually you would really want to define the border thicknesses in a relative way like "inside edge" or "outside edge".The solution used is fairly general-purpose and adds a new
RelativeThicknessstruct defined below. I think this would be useful for others, but is there any desire to see this added to the core framework itself?Beta Was this translation helpful? Give feedback.
All reactions