(WPF)Auto tooltip as string and binding?
enum test
{
zero, one, two, three, four, five, six, seven, eight, nine, ten, eleven, twelve, thirteen, fourteen, fifteen, sixteen, seventeen, eighteen, nineteen, twenty...
}
How would i display the string instead of the integer in auto tooltip?
I can't make this blog work for me, help?
http://joshsmithonwpf.wordpress.com/2007/09/14/modifying-the-auto-tooltip-of-a-slider/#comment-6921
Also if i would bind the value to a label would numbers be displayed in the label or strings?
How would i bind it to a label even if not using strings for integers in the slider and make strings come out instead?
EDIT: This was a problem of cast:
this.AutoToolTip.Content = (test)Convert.ToInt32(this.AutoToolTip.Content);

