ContactAction.xaml 2.27 KB
Newer Older
1 2 3 4 5 6
<UserControl x:Class="Linphone.Controls.ContactAction"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
7
    d:DesignHeight="50" d:DesignWidth="480">
8 9 10
    
    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
11
            <ColumnDefinition Width="*" />
12 13 14 15 16 17 18 19
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

20 21 22 23 24 25
        <TextBlock 
            x:Name="label" 
            Style="{ThemeResource ListItemHeaderStyle}"
            VerticalAlignment="Center" 
            HorizontalAlignment="Left"/>

26 27
        <TextBlock 
            Grid.Column="0"
28
            Grid.Row="1"
29
            x:Name="phone" 
30
            Style="{ThemeResource ListItemStyle}"
31 32 33 34 35
            VerticalAlignment="Center" 
            HorizontalAlignment="Left" />
        
        <Button 
            x:Name="button"
36
            Grid.Column="1"
37
            Grid.Row="1"
38 39
            Style="{ThemeResource ButtonStyle}"
            Background="Transparent"
40
            VerticalAlignment="Center">
41 42 43 44 45
            <FontIcon  x:Name="action2" FontFamily="Segoe MDL2 Assets" Glyph="&#xE717;" RenderTransformOrigin="0.5,0.5">
                <FontIcon.RenderTransform>
                    <CompositeTransform ScaleX=".75" ScaleY=".75"/>
                </FontIcon.RenderTransform>
            </FontIcon>
46
        </Button>
47
      
48 49
        <Button 
            x:Name="button2"
50
            Grid.Column="2"
51
            Grid.Row="1"
52 53
            Style="{ThemeResource ButtonStyle}"
            Background="Transparent"
54
            VerticalAlignment="Center">
55 56 57 58 59
            <FontIcon  x:Name="action" FontFamily="Segoe MDL2 Assets" Glyph="&#xE8BD;" RenderTransformOrigin="0.5,0.5">
                <FontIcon.RenderTransform>
                    <CompositeTransform ScaleX=".75" ScaleY=".75"/>
                </FontIcon.RenderTransform>
            </FontIcon>
60 61 62
        </Button>
    </Grid>
</UserControl>