Skip to content
Discussion options

You must be logged in to vote

If you set RenderOptions.BitmapInterpolationMode="HighQuality" on the UserControl, does it affect the brush? There was some talk about allowing overriding the defaults awhile back, but that hasn't been implemented. It's a bit hard to track down.

Alternatively, use layer stacking instead of ImageBrush:

<UserControl ...>
  <Panel>
    <Image Source="/Assets/background.jpg" Stretch="UniformToFill" RenderOptions.BitmapInterpolationMode="HighQuality" />
    <TextBlock Text="Your Stacked Content Here" />
  </Panel>
</UserControl>

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@J0nathan550
Comment options

@yll690
Comment options

@stevemonaco
Comment options

@yll690
Comment options

@stevemonaco
Comment options

Comment options

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

@J0nathan550
Comment options

@workgroupengineering
Comment options

@stevemonaco
Comment options

Answer selected by J0nathan550
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants