c# - how can I draw a path with both solid and dotted line in wpf -
i new wpf. need draw image in style, using 'path' both solid , dotted line sample image. know how draw solid or dotted line, have no thought combine them in path...
<style x:key="itemstyle" targettype="path"> <setter property="fill" value="{staticresource itembrush}"/> <setter property="stroke" value="{staticresource itemstroke}"/> <setter property="strokethickness" value="2"/> ... </style> <style x:key="vessel" targettype="path" basedon="{staticresource itemstyle}"> <setter property="data" value="..."/> </style> c# wpf path dotted-line
No comments:
Post a Comment