Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Busy Indicator Content Template Button Command

$
0
0
Hi,

You need to set the DataContext on the button inside the BusyIndicator. Something like ;
<Button Grid.Column="0"
             Content="Pause"
             HorizontalAlignment="Right"
             Margin="0 0 2 0"
             DataContext="{Binding DataContext, RelativeSource={RelativeSource AncestorType={x:Type Window}}}"
             Command="{Binding ClearCounter}"/>

Viewing all articles
Browse latest Browse all 2157

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>