WPF ImageButton

  
    
1 < Button Style =" {DynamicResource DefalutButton} " FocusVisualStyle =" {x:Null} " Height ="21" Tag ="111" Width ="49" Canvas.Left ="72" Canvas.Top ="172" HorizontalAlignment ="Left" Margin ="2.333,60,0,0" VerticalAlignment ="Top" >
2 < Button.Content >
3 < Grid Width ="45.083" >
4 < Image Source =" {DynamicResource ImageButton_Add} " HorizontalAlignment ="Left" Grid.Row ="0" Width ="12" Margin ="-0.07,0.04,0,-0.1" RenderTransformOrigin ="0.5,0.5" >
5 < Image.RenderTransform >
6 < TransformGroup >
7 < ScaleTransform />
8 < SkewTransform />
9 < RotateTransform Angle ="0.592" />
10 < TranslateTransform />
11 </ TransformGroup >
12 </ Image.RenderTransform >
13 </ Image >
14 < TextBlock Text =" {DynamicResource ImageButtonContext_Add} " Grid.Row ="1" VerticalAlignment ="Center" Margin ="13.087,0,0,0" d:LayoutOverrides ="GridBox" Height ="13" Width ="31" HorizontalAlignment ="Right" />
15 </ Grid >
16 </ Button.Content >
17 </ Button >

你可能感兴趣的:(imagebutton)