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
  • 83,499
  • 23
  • 264
  • 266
CHANDRA
  • 4,778
  • 8
  • 32
  • 51

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,387
  • 3
  • 22
  • 38