<StackPanel Name="StpAddDel" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5"> <RadioButton Name="rdbactive" GroupName="actinact" VerticalAlignment="Center" Margin="5,0" Width="50" Height="15" Foreground="Blue"> <RadioButton.Style> <Style TargetType="{x:Type RadioButton}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type RadioButton}"> <Grid> <Image Source="c:\image.png" Width="32" Height="32"/> <ContentPresenter/> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style> </RadioButton.Style> </RadioButton> <RadioButton Name="rdbinactive" GroupName="actinact" VerticalAlignment="Center" Margin="5,0" Width="60" Height="15" Foreground="Blue"> <RadioButton.Style> <Style TargetType="{x:Type RadioButton}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type RadioButton}"> <Grid> <Image Source="c:\image.png" Width="32" Height="32"/> <ContentPresenter/> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style> </RadioButton.Style> </RadioButton> <Button Name="BtnAdd" Height="20" Width="20" Margin="5,0" Template="{StaticResource AddImgBtnTemplate}" /> <Button Name="BtnDel" Height="20" Width="20" Margin="5,0" Template="{StaticResource DelImgBtnTemplate}" /> </StackPanel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)