WPF: RenderOptions.EdgeMode="Unspecified" vs "Alias" override global setting with local setting

Posted by msfanboy on Stack Overflow See other posts from Stack Overflow or by msfanboy
Published on 2010-05-30T17:59:29Z Indexed on 2010/05/30 18:02 UTC
Read the original article Hit count: 723

Filed under:
|
|
|
|

Hello,

in the ressource-tag of my MainWindowView.xaml I have this markup:

RenderOptions.EdgeMode="Aliased" to get a general sharp look of my whole application.

Using mostly rectangular shapes/controls this works fine.

But for my validation error symbols I use a red ellipse with a white cross or "X" in it.

The ellipse is using now the global "Aliased" settings what looks not good because I can see

the pixelated border of the ellipse.

Using now does NOT change anything ???

I always set in wpf local settings override global settings ?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about settings