Click here to Skip to main content
15,891,607 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Byte array to image Pin
Pete O'Hanlon26-Sep-11 3:55
mvePete O'Hanlon26-Sep-11 3:55 
GeneralRe: Byte array to image Pin
columbos1492726-Sep-11 3:58
columbos1492726-Sep-11 3:58 
GeneralRe: Byte array to image Pin
Pete O'Hanlon26-Sep-11 4:04
mvePete O'Hanlon26-Sep-11 4:04 
QuestionIs silverlight dead? Pin
sasolanki00725-Sep-11 20:41
sasolanki00725-Sep-11 20:41 
AnswerRe: Is silverlight dead? Pin
Richard MacCutchan25-Sep-11 23:19
mveRichard MacCutchan25-Sep-11 23:19 
AnswerRe: Is silverlight dead? Pin
Pete O'Hanlon26-Sep-11 1:09
mvePete O'Hanlon26-Sep-11 1:09 
AnswerRe: Is silverlight dead? Pin
Ranjit Shankar16-Apr-20 21:19
professionalRanjit Shankar16-Apr-20 21:19 
QuestionSummation of multiple datagrids Pin
Mats Westin23-Sep-11 5:33
Mats Westin23-Sep-11 5:33 
I´m new to WPF and C#.

I want help with my simple budget program!

I have 2 or more defined datagrids where each row in the datagrids are a collection of month objects.

There are 12 columns in each datagrid which are the months.

I have manage to sum the rows in each datagrid.

I have tried to collection all the datagrids in a List<>, but I can't get the summation of every datagrid for the first month Jan and bind it to the property AllSum which I used in the TextBlock element Jan_Buff in MainWindow.xaml.

<TextBlock Name="Jan_Buff" Text="{Binding Path=AllSum,Mode=OneWay}"></TextBlock>



Below I have tried to explaine the method:


DataGrid 1:

Month Januari->

Sum1_1=Row 1+Row2+Row3



Month Februari->

Sum1_2=Row 1+Row2+Row3


...


DataGrid 2:

Month Januari->

Sum2_1=Row 1+Row2+Row3



Month Februari->

Sum2_2=Row 1+Row2+Row3


...


Jan_Buff=Sum1_1+Sum2_1

Feb_Buff=Sum1_2+Sum2_2

...




I'm using MV C# 2010 Express.
Mats Westin


modified 30-Sep-11 13:17pm.

QuestionCovariance-Contravariance help please! Pin
DotNetXenon23-Sep-11 4:02
DotNetXenon23-Sep-11 4:02 
AnswerRe: Covariance-Contravariance help please! Pin
Mycroft Holmes23-Sep-11 12:18
professionalMycroft Holmes23-Sep-11 12:18 
QuestionWCF service call in which layer? Pin
DotNetXenon22-Sep-11 8:32
DotNetXenon22-Sep-11 8:32 
AnswerRe: WCF service call in which layer? Pin
Mycroft Holmes22-Sep-11 12:50
professionalMycroft Holmes22-Sep-11 12:50 
GeneralRe: WCF service call in which layer? Pin
DotNetXenon23-Sep-11 8:07
DotNetXenon23-Sep-11 8:07 
AnswerRe: WCF service call in which layer? Pin
Abhinav S24-Sep-11 21:34
Abhinav S24-Sep-11 21:34 
QuestionWCF Service list Pin
DotNetXenon22-Sep-11 5:47
DotNetXenon22-Sep-11 5:47 
AnswerRe: WCF Service list Pin
Jürgen Röhr22-Sep-11 8:02
professionalJürgen Röhr22-Sep-11 8:02 
GeneralRe: WCF Service list Pin
DotNetXenon22-Sep-11 8:13
DotNetXenon22-Sep-11 8:13 
Questionproblem in showing x-axix value in multi series line chart in silverlight4 Pin
Mann Saini22-Sep-11 3:12
Mann Saini22-Sep-11 3:12 
QuestionOpen a XAML page from aspx page Pin
yesu prakash21-Sep-11 20:30
yesu prakash21-Sep-11 20:30 
AnswerRe: Open a XAML page from aspx page Pin
RichardGrimmer22-Sep-11 5:14
RichardGrimmer22-Sep-11 5:14 
QuestionSL Content not displaying Pin
JMurfey20-Sep-11 9:58
JMurfey20-Sep-11 9:58 
AnswerRe: SL Content not displaying Pin
DotNetXenon23-Sep-11 4:19
DotNetXenon23-Sep-11 4:19 
GeneralRe: SL Content not displaying Pin
JMurfey23-Sep-11 12:57
JMurfey23-Sep-11 12:57 
GeneralRe: SL Content not displaying Pin
JMurfey26-Sep-11 10:15
JMurfey26-Sep-11 10:15 
QuestionDynamicly load DLL's Pin
columbos1492718-Sep-11 22:54
columbos1492718-Sep-11 22:54 

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.