RenderOptions in Render() ignored when visual parent(s) have RenderOptions set in XAML #17773
Unanswered
AngryCarrot789
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Can you show code to demonstrate how you're pushing the new I can't see any issue on the border. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The border is only rendered weird when I select the control, since the BorderThickness becomes 2. The code is literally just something like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure why this behaviour is happening but this is my ControlTemplate:
And in my
AutomationSequenceEditorControl
's Render method I'm pushing render options with anti-aliasing onto the stack, but the pixels are not anti-aliased. Anyone know why this is happening?This is what I currently get:
But if I remove the
RenderOptions.EdgeMode
from the Border, I get normal anti-aliasing except the control I've made now doesn't render quite right, I get weird sub pixel issues around the border:Beta Was this translation helpful? Give feedback.
All reactions