Click here to Skip to main content
15,920,110 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Data Access for dummies... Pin
Ian Shlasko12-Apr-11 6:28
Ian Shlasko12-Apr-11 6:28 
AnswerRe: Data Access for dummies... Pin
Abhinav S12-Apr-11 4:35
Abhinav S12-Apr-11 4:35 
AnswerRe: Data Access for dummies... Pin
Vimalsoft(Pty) Ltd12-Apr-11 21:25
professionalVimalsoft(Pty) Ltd12-Apr-11 21:25 
GeneralRe: Data Access for dummies... Pin
Johnny J.12-Apr-11 21:51
professionalJohnny J.12-Apr-11 21:51 
GeneralRe: Data Access for dummies... Pin
Vimalsoft(Pty) Ltd12-Apr-11 22:01
professionalVimalsoft(Pty) Ltd12-Apr-11 22:01 
AnswerRe: Data Access for dummies... Pin
V.13-Apr-11 0:41
professionalV.13-Apr-11 0:41 
QuestionMaster/Detail works but why ? and more Pin
Jean-Louis Leroy11-Apr-11 23:19
Jean-Louis Leroy11-Apr-11 23:19 
QuestionBinding List of Objects in CommandParameter Pin
NTheOne10-Apr-11 23:30
NTheOne10-Apr-11 23:30 
AnswerRe: Binding List of Objects in CommandParameter Pin
Abhinav S11-Apr-11 1:50
Abhinav S11-Apr-11 1:50 
QuestionPolyline rendering error in silverlight Pin
chenjch10-Apr-11 5:47
chenjch10-Apr-11 5:47 
QuestionWPF/VB.NET Memory Leaks - reproducible, when creating multiple RichText controls in a WPF form. Grrrrr! Pin
JohnyPoo9-Apr-11 14:54
JohnyPoo9-Apr-11 14:54 
QuestionMVVM : Assign ItemSource in View's Code Behind Pin
NTheOne8-Apr-11 23:56
NTheOne8-Apr-11 23:56 
AnswerRe: MVVM : Assign ItemSource in View's Code Behind Pin
SledgeHammer019-Apr-11 8:10
SledgeHammer019-Apr-11 8:10 
GeneralRe: MVVM : Assign ItemSource in View's Code Behind Pin
NTheOne10-Apr-11 18:15
NTheOne10-Apr-11 18:15 
GeneralRe: MVVM : Assign ItemSource in View's Code Behind Pin
Mycroft Holmes10-Apr-11 18:29
professionalMycroft Holmes10-Apr-11 18:29 
AnswerRe: MVVM : Assign ItemSource in View's Code Behind Pin
Abhinav S10-Apr-11 18:47
Abhinav S10-Apr-11 18:47 
QuestionGet Data from ViewModel in Code behind using MVVM Pin
NTheOne8-Apr-11 21:58
NTheOne8-Apr-11 21:58 
AnswerRe: Get Data from ViewModel in Code behind using MVVM Pin
Mycroft Holmes8-Apr-11 22:22
professionalMycroft Holmes8-Apr-11 22:22 
AnswerRe: Get Data from ViewModel in Code behind using MVVM Pin
Abhinav S8-Apr-11 22:35
Abhinav S8-Apr-11 22:35 
AnswerRe: Get Data from ViewModel in Code behind using MVVM Pin
SledgeHammer019-Apr-11 8:07
SledgeHammer019-Apr-11 8:07 
QuestionChange the display of a combobox control into hyperlink Pin
Rocky237-Apr-11 20:57
Rocky237-Apr-11 20:57 
AnswerRe: Change the display of a combobox control into hyperlink Pin
Mycroft Holmes7-Apr-11 22:20
professionalMycroft Holmes7-Apr-11 22:20 
AnswerRe: Change the display of a combobox control into hyperlink Pin
SledgeHammer018-Apr-11 7:57
SledgeHammer018-Apr-11 7:57 
QuestionDataGrid CellTemplate / CellEditingTemplate Pin
eddieangel7-Apr-11 9:31
eddieangel7-Apr-11 9:31 
AnswerRe: DataGrid CellTemplate / CellEditingTemplate Pin
SledgeHammer017-Apr-11 14:05
SledgeHammer017-Apr-11 14:05 
Thats probably just how the control works by default. If you don't like the behavior, you can always change it Smile | :) . I'm guessing you want a single click to go into edit mode? My first approach would be to catch the single click and if the cell contains a control, put it into edit mode. Lots and lots of gotchas though. A text box should go into edit mode directly on the first click, but a combobox should only go into edit mode if you click the edit portion. I don't think it should go into edit mode if you click the drop down button. Or maybe it should? You need to play with it. You'll probably have to special case a few of the control types to get what you want. I.e. if the control is a text box do this, if you the control is a combobox, do this instead. Another gotcha I can see is if you catch the click too early, you'll "break" the controls. For example, a push button should be executed on release, not on click. The click on a button just gives it focus and captures mouse focus so you can mouse off the button with the mouse still pressed and come back and it'll get pressed again, etc.

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.