日期:2014-05-17 浏览次数:21146 次
<Canvas Width="auto" x:Name="printArea" Margin="0,0,0,83">
<TextBlock x:Name="printtitleTb" Canvas.Left="241" TextWrapping="Wrap" Text="宝华小区季度收费表" Canvas.Top="10" Width="211" Height="25" FontFamily="Microsoft YaHei" FontSize="18"/>
<DataGrid Name="tenantsDg" BorderBrush="Black" HorizontalAlignment="Left" Width="681" AutoGenerateColumns="false" IsReadOnly="True" Height="579" Canvas.Top="40" LoadingRow="tenantsDg_LoadingRow" >
<DataGrid.Columns>
<DataGridTextColumn Header="住户编号" CanUserResize="False" Width="76" Binding="{Binding Tid}"/>
<DataGridTextColumn Header="姓名" CanUserResize="False" Width="60" Binding="{Binding Name}"/>
<DataGridTextColumn Header="类型" CanUserResize="False" Width="60" Binding="{Binding Type}"/>
<DataGridTextColumn Header="用水量(吨)" CanUserResize="False" Width="75" Binding="{Binding Waterdosage}"/>
<DataGridTextColumn Header="水费" CanUserResize="False" Width="50" Binding="{Binding Watercost}"/>
<DataGridTextColumn Header="用电量(度)" CanUserResize="False" Width="75" Binding="{Binding Electricitydosage}"/>
<DataGridTextColumn Header="电费" CanUserResize="False" Width="50" Binding="{Binding Electricitycost}"/>
<DataGridTextColumn Header="卫生治安" CanUserResize="False" Width="70" Binding="{Binding Healthcost}"/>
<DataGridTextColumn Header="电梯费" CanUserResize="False" Width="53" Binding="{Binding Elevatorcost}"/>
<DataGridTextColumn Header="暖气费" CanUserResize="False" Width="53" Binding="{Binding Heatingcost}"/>
<DataGridTextColumn Header="总计" CanUserResize="False" Width="50" Binding="{Binding Total