wpf - How to reach my controller from code-behind -


i have circle progressbar responds slider value changed:

    <stackpanel orientation="horizontal" horizontalalignment="center" verticalalignment="center" margin="530,303,114,303">         <grid horizontalalignment="center" verticalalignment="center" height="153" width="155">             <designincontrol:circularprogressbar horizontalalignment="center" verticalalignment="center"              segmentcolor="#ff878889" strokethickness="8" percentage="100" />             <designincontrol:circularprogressbar name="circlevale" horizontalalignment="center" verticalalignment="center"              percentage="{binding value, elementname=slider}" segmentcolor="#026873" strokethickness="8" />         </grid>     </stackpanel>     <slider x:name="slider" maximum="100" value="0" width="200" margin="597,185,227,495" />     <label name="lblcircleprogress" content="{binding value, elementname=slider}" margin="698,344,284,343" foreground="white" 

how can change value in code-behind? tried give control name property (name="circlevale") reason cannot reach in code-behind.

your circlevale control should accessible in code behind, apart that, think using setcurrentvalue leave binding in place.

can change other property of progressbar code?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -