1. Uff182's Avatar
    I'm developing my first UWP app and I have a question about what is better between Symbol Icon and buttons: in my home page I have three icons at the bottom, one to start phone dialer, one for e-mail and one for map. They are inside a Grid with three columns.

    My first approach was to use a Button and then put the SymbolIcon within it so to have the icon appear, but this caused my layout not to work properly: I then decided to leave only SymbolIcons and assign to each of them a Tapped event. Is this a correct way of proceding or would it be better to use a Button with its Onclick event?

    This is my code:

    <Grid Background="#0099FF" Height="52" VerticalAlignment="Bottom">
    <Grid.ColumnDefinitions>
    <ColumnDefinition />
    <ColumnDefinition />
    <ColumnDefinition />
    </Grid.ColumnDefinitions>

    <SymbolIcon Symbol="Phone" x:Name="PhoneButton" Grid.Column="0" Foreground="White" Tapped="PhoneButton_Tapped" />
    <SymbolIcon Symbol="Mail" x:Name="MailButton" Grid.Column="1" Foreground="White" Tapped="MailButton_Tapped" />
    <SymbolIcon Symbol="Map" x:Name="MapButton" Grid.Column="2" Foreground="White" Tapped="MapButton_Tapped" />

    </Grid>
    09-23-2015 10:06 AM
  2. Vittorio Vaselli's Avatar
    Have you tried to put the symbolicon in the content of the button?
    Uff182 likes this.
    12-30-2015 08:21 AM
  3. Uff182's Avatar
    Have you tried to put the symbolicon in the content of the button?
    Hi Vittorio, because of a lack of time I didn't go on with my project: I think there should be better and more efficient way of working compared to the way I was trying, thanks anyway for the suggestion. :)
    Vittorio Vaselli likes this.
    12-30-2015 08:26 AM

Similar Threads

  1. NL 1520 or MS 740/750 XL ? ? ? Please suggest ! ! !
    By Ganvartin in forum Ask a Question
    Replies: 5
    Last Post: 10-07-2015, 01:35 AM
  2. Replies: 0
    Last Post: 09-23-2015, 09:21 AM
  3. Extras + Info gets updated with compatibility for Windows 10
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 09-23-2015, 08:11 AM
  4. Dell announces new Venue 8 Pro and Venue 10 Pro Windows 10 tablets with USB Type-C
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 09-23-2015, 06:30 AM
  5. Running Office 2010 or earlier on Windows 10? You can now get Office 365 for just $35
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 09-23-2015, 04:42 AM
LINK TO POST COPIED TO CLIPBOARD