阅读背景:

通过附加属性获取列表框项目索引

来源:互联网 

Using this posting as reference, I am attempting to display a Listbox item's index by implementing an attached property. I'll be the first to admit that I don't entirely understand how an attached property will solve this problem but I was hoping it would become clear after successfully implementing the solution. After spending countless hours on the problem, I'm looking for a little help whether it be through an attached property or not. At this point, it uses the default string ("Default") but it doesn't appear to be evaluating the other functions. Here's what I have so far: as reference, I am attemptin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: