Click here to Skip to main content
14,384,769 members
   

C#

 
GeneralRe: Safe way to insert USB-drive. Pin
OriginalGriff1-Nov-19 13:44
protectorOriginalGriff1-Nov-19 13:44 
QuestionUse From that's in a class library, from other programs Pin
Lupu5R3x1-Nov-19 2:46
memberLupu5R3x1-Nov-19 2:46 
AnswerRe: Use From that's in a class library, from other programs Pin
Afzaal Ahmad Zeeshan1-Nov-19 3:09
mveAfzaal Ahmad Zeeshan1-Nov-19 3:09 
GeneralRe: Use From that's in a class library, from other programs Pin
Lupu5R3x1-Nov-19 4:52
memberLupu5R3x1-Nov-19 4:52 
QuestionDatagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 1:01
memberMember 135108471-Nov-19 1:01 
AnswerRe: Datagrid Cell content to only visible rows Pin
Richard Deeming1-Nov-19 2:33
mveRichard Deeming1-Nov-19 2:33 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 19:47
memberMember 135108471-Nov-19 19:47 
GeneralRe: Datagrid Cell content to only visible rows Pin
Richard Deeming3-Nov-19 23:12
mveRichard Deeming3-Nov-19 23:12 
Looks like the DataGrid is virtualized, so ContainerFromItem returns null for any rows which aren't currently visible.

There are several workarounds suggested in this StackOverflow thread[^].

But as Dave said, it would be better to work with the source directly rather than trying to read the value from the DataGridRow.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

AnswerRe: Datagrid Cell content to only visible rows Pin
Dave Kreskowiak1-Nov-19 2:50
mveDave Kreskowiak1-Nov-19 2:50 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108471-Nov-19 19:50
memberMember 135108471-Nov-19 19:50 
GeneralRe: Datagrid Cell content to only visible rows Pin
Member 135108472-Nov-19 0:11
memberMember 135108472-Nov-19 0:11 
GeneralRe: Datagrid Cell content to only visible rows Pin
Dave Kreskowiak2-Nov-19 4:38
mveDave Kreskowiak2-Nov-19 4:38 
QuestionC# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 22:22
memberMember 1464122431-Oct-19 22:22 
AnswerRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff31-Oct-19 23:35
protectorOriginalGriff31-Oct-19 23:35 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 1464122431-Oct-19 23:51
memberMember 1464122431-Oct-19 23:51 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff1-Nov-19 0:09
protectorOriginalGriff1-Nov-19 0:09 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 146412241-Nov-19 0:14
memberMember 146412241-Nov-19 0:14 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
OriginalGriff1-Nov-19 0:26
protectorOriginalGriff1-Nov-19 0:26 
GeneralRe: C# Sql calling function - SELECT from two diffrent Sql folders Pin
Member 146412241-Nov-19 1:11
memberMember 146412241-Nov-19 1:11 
QuestionALPHA CHANNEL Pin
Member 1463438031-Oct-19 3:05
memberMember 1463438031-Oct-19 3:05 
AnswerRe: ALPHA CHANNEL Pin
Richard MacCutchan31-Oct-19 5:05
protectorRichard MacCutchan31-Oct-19 5:05 
QuestionArgument 1: cannot convert from 'object' to 'string' Pin
Member 1463942031-Oct-19 1:53
memberMember 1463942031-Oct-19 1:53 
AnswerRe: Argument 1: cannot convert from 'object' to 'string' Pin
OriginalGriff31-Oct-19 2:19
protectorOriginalGriff31-Oct-19 2:19 
GeneralRe: Argument 1: cannot convert from 'object' to 'string' Pin
Member 1463942031-Oct-19 2:35
memberMember 1463942031-Oct-19 2:35 
GeneralRe: Argument 1: cannot convert from 'object' to 'string' Pin
OriginalGriff31-Oct-19 2:47
protectorOriginalGriff31-Oct-19 2:47 

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.