Click here to Skip to main content
15,890,897 members
Home / Discussions / C#
   

C#

 
QuestionSimulating Mouse Scrolling Pin
annex4528-Mar-13 12:19
annex4528-Mar-13 12:19 
AnswerRe: Simulating Mouse Scrolling Pin
Jasmine250128-Mar-13 13:10
Jasmine250128-Mar-13 13:10 
QuestionCreate MP4 video from images Pin
cabasm28-Mar-13 10:35
cabasm28-Mar-13 10:35 
AnswerRe: Create MP4 video from images Pin
Gerry Schmitz28-Mar-13 12:08
mveGerry Schmitz28-Mar-13 12:08 
GeneralRe: Create MP4 video from images Pin
cabasm28-Mar-13 12:37
cabasm28-Mar-13 12:37 
GeneralRe: Create MP4 video from images Pin
Gerry Schmitz28-Mar-13 12:47
mveGerry Schmitz28-Mar-13 12:47 
GeneralRe: Create MP4 video from images Pin
cabasm29-Mar-13 4:46
cabasm29-Mar-13 4:46 
QuestionC# WPF Accessing parameter of chosen data grid row Pin
johnyjj228-Mar-13 8:47
johnyjj228-Mar-13 8:47 
Hello,

I have data grid as follows:

XML
<DataGrid Grid.Row="8" Grid.Column="0" Margin="5" Grid.ColumnSpan="3" Name="dgrNumericalParameters" ItemsSource="{Binding}">
    <DataGrid.RowDetailsTemplate>
        <DataTemplate>
            <DataGrid Name="innerGrid"></DataGrid>
        </DataTemplate>
    </DataGrid.RowDetailsTemplate>
</DataGrid>


I want to dynamically allow the user to click one row in outter grid so that inner grid is displayed (similarly as it is done here: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/8f368d8b-0d06-4219-80f8-e8108f219fc2/).

However, the content of inner data grid (both its columns and values of corresponding rows) depend on row selected in outter grid.

This is why I need to check parameter's name (or rather parameter of object inside object). And my problem is that I cannot. What could be the reason of that?

In summary, how can I access dgrNumericalParameters.parameterName if I can access dgrNumericalParameters.SelectedIndex and parameterName is visible in IDE?

I attach some screenshots that may clarify it.

http://s20.postimg.org/dji7xyzwt/selected_Item1.png
http://s20.postimg.org/jlpuogoct/selected_Item2.png
http://s20.postimg.org/4ag1nur0t/selected_Item3.png
http://s20.postimg.org/sxbwlf0wd/selected_Item4.png[^]

Best regards!
AnswerRe: C# WPF Accessing parameter of chosen data grid row Pin
OriginalGriff28-Mar-13 9:20
mveOriginalGriff28-Mar-13 9:20 
QuestionPass Info from Desktop App to Webpage Pin
PDTUM28-Mar-13 7:44
PDTUM28-Mar-13 7:44 
AnswerRe: Pass Info from Desktop App to Webpage Pin
David C# Hobbyist.28-Mar-13 8:42
professionalDavid C# Hobbyist.28-Mar-13 8:42 
Questionprogramming ideas Pin
MegaBaitas28-Mar-13 3:45
MegaBaitas28-Mar-13 3:45 
AnswerRe: programming ideas Pin
Richard MacCutchan28-Mar-13 3:58
mveRichard MacCutchan28-Mar-13 3:58 
AnswerRe: programming ideas Pin
PIEBALDconsult28-Mar-13 4:01
mvePIEBALDconsult28-Mar-13 4:01 
Generalprogramming ideas Pin
MegaBaitas28-Mar-13 5:11
MegaBaitas28-Mar-13 5:11 
GeneralRe: programming ideas Pin
PIEBALDconsult28-Mar-13 10:14
mvePIEBALDconsult28-Mar-13 10:14 
AnswerRe: programming ideas Pin
Alan Balkany1-Apr-13 5:08
Alan Balkany1-Apr-13 5:08 
QuestionBoost parralel messaging performance (TPL / Async) Pin
KillerX12328-Mar-13 2:29
KillerX12328-Mar-13 2:29 
QuestionMy issue is regarding handling multiple backgroud worker and multiple progressbar Pin
Tridip Bhattacharjee28-Mar-13 0:31
professionalTridip Bhattacharjee28-Mar-13 0:31 
AnswerRe: My issue is regarding handling multiple backgroud worker and multiple progressbar Pin
Thomas Duwe28-Mar-13 5:26
Thomas Duwe28-Mar-13 5:26 
GeneralRe: My issue is regarding handling multiple backgroud worker and multiple progressbar Pin
Tridip Bhattacharjee30-Mar-13 5:35
professionalTridip Bhattacharjee30-Mar-13 5:35 
GeneralRe: My issue is regarding handling multiple backgroud worker and multiple progressbar Pin
Thomas Duwe1-Apr-13 5:37
Thomas Duwe1-Apr-13 5:37 
QuestionHttpWebRequest and strange networking errors Pin
cjb11028-Mar-13 0:10
cjb11028-Mar-13 0:10 
QuestionHow to enlarge the recording voice Pin
Star.jon27-Mar-13 22:46
Star.jon27-Mar-13 22:46 
AnswerRe: How to enlarge the recording voice Pin
Bernhard Hiller27-Mar-13 23:01
Bernhard Hiller27-Mar-13 23:01 

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.