user controls - WPF UserControl creating multiple layout choices -
i have usercontrol have various properties defined, can customise each copy that's on screen. have path uses lineargradientbrush fill. @ present hard coded xaml. have width , visibility of path control dependency objects , can modify these: <path visibility="{templatebinding pathavisibility}" width="{templatebinding pathalength}"> <lineargradientbrush endpoint="0,0.5" mappingmode="relativetoboundingbox" startpoint="1,0.5"> <gradientstop color="#07ffffff" offset="0.812"/> <gradientstop color="red"/> <gradientstop color="#00000000" offset="0.993"/> <gradientstop color="#ff956666" offset="0.62"/> </lineargradientbrush>... what i'd create few gradients options can select properties in wpf xaml designer. "grada" red, "gradb"...