This project is read-only.

Put an image on a button

Jan 9, 2014 at 6:17 AM
Hi
I'm new to Mui.

I'm trying to put a 'Tick" icon with OK on a button. Is this possible? If so, could someone give me a reference please that will guide me as to how I can achieve it?

Many thanks.

Brian
Jan 9, 2014 at 8:01 AM
Edited Jan 9, 2014 at 8:03 AM
Hi
Did more research and came up with:
<Button Grid.Column="0" Grid.Row="8" Style="{StaticResource buttonSaveStyle}">
       <StackPanel Orientation="Horizontal">
             <TextBlock FontFamily="WingDings" FontSize="20" Text="&#xFC;" />    
             <TextBlock VerticalAlignment="Center" Margin="10,0,0,0" FontWeight="ExtraBold" Text="OK" />
        </StackPanel>
</Button>
Hope that helps some other novice like myself.
Marked as answer by briannz556 on 1/9/2014 at 12:04 AM