c# - WPF container artifacts when content is more than container -
i'm creating styles control , faced strange problem.
just compare:
- the normal slider:
- what when decrease image container:
what is? that's not border, i'm not use borders or that. affect's not images. it's example. how avoid behavior?
the code when decreased container(thumb) size:
<track.thumb> <thumb x:name="thumb" height="15" width="15"> <thumb.template> <controltemplate targettype="thumb"> <image source="../images/player/slider_thumb.png" height="17" width="17" /> </controltemplate> </thumb.template> </thumb> </track.thumb>
Comments
Post a Comment