Thanks Phill,
I said it is a ReadOnly datagird becauase already
I set ReadOnly property True.
Sorry I didn't told it clear in my previous post.
The problem is, after a click, the text in the row selects.
I tried to play with DataGrid's OnClick event, but it only
works when 'Row Header' clicks.
--
Saber S.
http://maghalat.com
"Phil G." <(E-Mail Removed)> wrote in message
news:de59sq$eep$(E-Mail Removed)...
> datagrid.readonly = true
>
>
>
> "Saber" <saber[.AT.]oxin.ir> wrote in message
> news:(E-Mail Removed)...
>> When I click on a DataGrid item, the text below
>> mouse pointer selects and turns blue.
>> My DataGrid is ReadOnly and I don't need to let
>> users to select items.
>> Is there a way to prevent selecting the text?
>>
>> --
>> Saber S.
>> http://maghalat.com
>>
>
>