Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <DataGrid AutoGenerateColumns="True" Height="80" Margin="2,-4,8,0" Name="grdQHDRShowAll" VerticalAlignment="Top" ItemsSource="{Binding}" IsReadOnly="True" SelectionChanged="grdQHDRShowAll_SelectionChanged">
- <DataGrid.Columns>
- <DataGridTemplateColumn>
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <Button Click="Qhdr_CreateOrder_Click" CommandParameter="{Binding Path=QuoteNo}" >Create Order</Button>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- <Button IsEnabled="{Binding Path=BoolProp}"/>
- <Button IsEnabled="{Binding ElementName=CellName, Path=BoolProp}"/>
- <Button Content="Approve" VerticalAlignment="Center" Height="23" Width="90" FontWeight="Bold" Command="{Binding ApprovedCommand}" Margin="5,0,0,0" IsEnabled="{Binding IsEnabled,Mode=TwoWay}"/>
Add Comment
Please, Sign In to add comment