Styling hyperlink button inside a data template in Silverlight

Posted by cmaduro on Stack Overflow See other posts from Stack Overflow or by cmaduro
Published on 2010-05-13T17:49:47Z Indexed on 2010/05/13 17:54 UTC
Read the original article Hit count: 733

How do I change the visual state of a hyperlinkbutton inside a datatemplate? In short, what I'm doing is basically I'm trying to iterate of the hyperlinkbuttons and set their visual state to active or inactive according to the url. The hyperlink buttons are located inside the datatemplate of an itemscontrols itemsource that is bound to a List where link is my custom class for links.

Is there a best practice for styling the active hyperlink in a silverlight nav app? What I am using is the approach of the boilerplate code.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about silverlight-navigation