Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: IntegerUpDown Minimum and Maximum in Tooltip

$
0
0
Try this :
<xctk:IntegerUpDown x:Name="integerUpDown"
                        Margin="5"
                        Minimum="0"
                        Maximum="10">
      <xctk:IntegerUpDown.ToolTip>
        <ToolTip DataContext="{Binding Path=PlacementTarget, RelativeSource={RelativeSource Self}}">
          <StackPanel>
            <TextBlock Text="{Binding Minimum, StringFormat=Min: {0}}" />
            <TextBlock Text="{Binding Maximum, StringFormat=Max: {0}}" />
          </StackPanel>
        </ToolTip>
      </xctk:IntegerUpDown.ToolTip>
</xctk:IntegerUpDown>

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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