Rank: Newbie Groups: Member
Joined: 3/24/2009 Posts: 5
|
Hello,
it's possible to have a Menu with different BackColor for specific items?
I tried something like:
Dim binding As New EO.Web.DataBinding() binding.DataField = "CorFundo" binding.Property = "NormalStyle|BackColor"
but it's not working.
Best regards, Sérgio Gonçalves
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
You can not bind it that way. What you can do is to bind a special value into the MenuItem's Value property, then handle the menu's ItemCreated event, you can then use code to set the MenuItem's background color inside your ItemCreated event based on the item's Value property.
Thanks!
|