Click here to Skip to main content
15,915,501 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: open a window application when window service starts Pin
Dave Kreskowiak6-Aug-12 1:54
mveDave Kreskowiak6-Aug-12 1:54 
AnswerRe: open a window application when window service starts Pin
Bernhard Hiller5-Aug-12 22:37
Bernhard Hiller5-Aug-12 22:37 
AnswerRe: open a window application when window service starts Pin
Pete O'Hanlon6-Aug-12 2:14
mvePete O'Hanlon6-Aug-12 2:14 
QuestionWorking with WPF Pin
Member 82251801-Aug-12 9:37
Member 82251801-Aug-12 9:37 
AnswerRe: Working with WPF Pin
Ed Hill _5_1-Aug-12 22:12
Ed Hill _5_1-Aug-12 22:12 
GeneralRe: Working with WPF Pin
Member 82251802-Aug-12 11:00
Member 82251802-Aug-12 11:00 
GeneralRe: Working with WPF Pin
Ed Hill _5_2-Aug-12 22:49
Ed Hill _5_2-Aug-12 22:49 
GeneralRe: Working with WPF Pin
Member 82251806-Aug-12 9:06
Member 82251806-Aug-12 9:06 
Sorry for the late reply. I was away from home the last 3 days.

Yes, I was thinking on the line of something like this.
For the moment, until I study recommended practices and patterns, this is not important.


There is one item that is bothering me though.
Why is it that when a given grid row is selected via code, the background is not highlighted in the same manner as when selecting the row via a mouse click.

For instance:
dataGrid1.SelectedIndex = 0;

The background row is highlighted in a light-grey color.
But clicking the row, the row is highlighted in blue.
I've determined this is a focus issue. If the grid is forced to have the focus, the row is highlighted blue. If it loses focus, it changes to grey.
In my particular case, it would be great to maintain the blue background on the row even if focus is lost. What would be the best way to do this?

modified 6-Aug-12 15:20pm.

GeneralRe: Working with WPF Pin
Ed Hill _5_6-Aug-12 23:25
Ed Hill _5_6-Aug-12 23:25 
GeneralRe: Working with WPF Pin
Member 82251808-Aug-12 4:28
Member 82251808-Aug-12 4:28 
GeneralRe: Working with WPF Pin
Member 822518015-Aug-12 10:59
Member 822518015-Aug-12 10:59 
GeneralRe: Working with WPF Pin
Ed Hill _5_15-Aug-12 22:10
Ed Hill _5_15-Aug-12 22:10 
GeneralRe: Working with WPF Pin
Ed Hill _5_16-Aug-12 0:08
Ed Hill _5_16-Aug-12 0:08 
GeneralRe: Working with WPF Pin
Member 822518016-Aug-12 2:09
Member 822518016-Aug-12 2:09 
QuestionDynamic properties from Com Interop Pin
Bob Jiang30-Jul-12 5:04
Bob Jiang30-Jul-12 5:04 
AnswerRe: Dynamic properties from Com Interop Pin
Abhinav S30-Jul-12 6:19
Abhinav S30-Jul-12 6:19 
AnswerRe: Dynamic properties from Com Interop Pin
Pete O'Hanlon31-Jul-12 5:08
mvePete O'Hanlon31-Jul-12 5:08 
GeneralRe: Dynamic properties from Com Interop Pin
Bob Jiang31-Jul-12 5:29
Bob Jiang31-Jul-12 5:29 
GeneralRe: Dynamic properties from Com Interop Pin
Pete O'Hanlon31-Jul-12 5:32
mvePete O'Hanlon31-Jul-12 5:32 
QuestionRijndaelManaged Padding is invalid and cannot be removed Pin
Member 906777730-Jul-12 3:28
Member 906777730-Jul-12 3:28 
AnswerRe: RijndaelManaged Padding is invalid and cannot be removed Pin
Dave Kreskowiak31-Jul-12 4:35
mveDave Kreskowiak31-Jul-12 4:35 
GeneralRe: RijndaelManaged Padding is invalid and cannot be removed Pin
Member 90677771-Aug-12 0:02
Member 90677771-Aug-12 0:02 
GeneralRe: RijndaelManaged Padding is invalid and cannot be removed Pin
Pete O'Hanlon1-Aug-12 2:18
mvePete O'Hanlon1-Aug-12 2:18 
GeneralRe: RijndaelManaged Padding is invalid and cannot be removed Pin
Member 90677771-Aug-12 3:53
Member 90677771-Aug-12 3:53 
GeneralRe: RijndaelManaged Padding is invalid and cannot be removed Pin
Pete O'Hanlon1-Aug-12 4:46
mvePete O'Hanlon1-Aug-12 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.