WindowsCompositionSamples icon indicating copy to clipboard operation
WindowsCompositionSamples copied to clipboard

how to apply effects to any shape of area of an xaml element or visual element?

Open HppZ opened this issue 5 years ago • 2 comments

I want to apply effects to the blue area: image

HppZ avatar May 15 '20 07:05 HppZ

using a Path with its Fill property set to a effect brush is a solution, but any other solution available?

HppZ avatar May 15 '20 07:05 HppZ

@ratishphilip's got a solution for this, see above and below this header here in his docs: https://github.com/ratishphilip/CompositionProToolkit#3-creating-masked-backdrop-brush-using-imasksurface

hawkerm avatar Mar 12 '21 07:03 hawkerm