0

When i select the combobox item, the selected item text highlighted with blue color.

How can i remove that highlight. But it is working after i removed trigger "IsSelectionBoxHighlighted = true" in epression blend.

But i have to do this thing in code behind in wpf with c# code?

I tried like this

com_image.IsSelectionBoxHighlighted = true;

but it is not work, it is showing exeption.

pls help me....

Fredrik Hedblad
  • 81,965
  • 23
  • 258
  • 266
CHANDRA
  • 4,550
  • 8
  • 29
  • 49

1 Answers1

1

You can not set

com_image.IsSelectionBoxHighlighted's

value . It is read only property.

You can just get it;s value.

bool result= com_image.IsSelectionBoxHighlighted;

It will compile.

Md Kamruzzaman Sarker
  • 2,297
  • 2
  • 19
  • 36