FavoritesView.xaml #1

  • //
  • guest/
  • perforce_software/
  • piper/
  • main/
  • windows/
  • R1.1/
  • Perforce/
  • View/
  • FavoritesView.xaml
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<UserControl x:Class="Perforce.View.FavoritesView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Name="MainGrid">
        <Grid.Style>
            <Style TargetType="Grid">
                <Style.Triggers>
                    <DataTrigger Binding="{Binding IsServerSource}" Value="False">
                        <Setter Property="Background" Value="White" />
                    </DataTrigger>
                    <DataTrigger Binding="{Binding IsServerSource}" Value="True">
                        <Setter Property="Background">
                            <Setter.Value>
                                <LinearGradientBrush
                                    EndPoint="3,3"
                                    MappingMode="Absolute"
                                    SpreadMethod="Repeat"
                                    StartPoint="0,0">
                                    <GradientStop Color="#BFCDCDCD"/>
                                    <GradientStop Color="#BEF7F7F7" Offset="0.526"/>
                                    <GradientStop Color="Transparent" Offset="0.544"/>
                                    <GradientStop Color="Transparent" Offset="1"/>
                                </LinearGradientBrush>
                            </Setter.Value>
                        </Setter>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
        </Grid.Style>
    </Grid>
</UserControl>
# Change User Description Committed
#1 16507 perforce_software Move to main branch.
//guest/perforce_software/piper/windows/R1.1/Perforce/View/FavoritesView.xaml
#2 13572 alan_petersen updating R1.1
#1 11256 alan_petersen Populate //guest/perforce_software/piper/windows/R1.1/...
from //guest/perforce_software/piper/windows/main/....
//guest/perforce_software/piper/windows/main/Perforce/View/FavoritesView.xaml
#1 11255 alan_petersen Rename/move file(s)
//guest/perforce_software/piper/windows/Perforce/View/FavoritesView.xaml
#1 10761 alan_petersen initial drop of Piper for Windows....

this version still has _many_ bugs (er... i mean "unintended features") but I will be updating it over the next week as more stability is added.