Expression tree: http://flypiaoxu.blogbus.com/c4101048/index_4.html
dynamic linq: http://www.cnblogs.com/killuakun/archive/2008/08/03/1259389.html
http://www.yaosansi.com/post/1382.html
http://blog.bvsoftware.com/post/2008/02/27/How-to-create-a-Dynamic-LINQ-Query-Programmatically.aspx
http://www.albahari.com/nutshell/predicatebuilder.aspx
linq to sql 查询示例: http://msdn.microsoft.com/zh-cn/library/bb386913.aspx
WAF (WPF Application Framework):
http://msdn.microsoft.com/en-us/magazine/cc163328.aspx
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="{Binding ElementName=xColumn, Path=ActualWidth}"></ColumnDefinition>
<ColumnDefinition Width="{Binding ElementName=yColumn, Path=ActualWidth}"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Grid.ColumnSpan="2" BorderThickness="1 1 1 0" BorderBrush="Black" HorizontalAlignment="Stretch">
<TextBlock Text="変更元(単位:1/1024秒)" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold"></TextBlock>
</Border>
</Grid>
<DataGrid x:Name="InputDataGrid" Grid.Row="1">
<DataGrid.ColumnHeaderStyle>
<Style TargetType="DataGridColumnHeader">
<Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
</Style>
</DataGrid.ColumnHeaderStyle>
<DataGrid.Columns>
<DataGridTemplateColumn Header="絶対X座標" Width="*" x:Name="xColumn">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=OriginalPointX}" IsReadOnly="True" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTemplateColumn Header="絶対Y座標" Width="*" x:Name="yColumn">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=OriginalPointY}" IsReadOnly="True" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
</Grid>