inital
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<UserControl x:Class="FasdDesktopUi.Pages.DetailsPage.UserControls.DetailsPageDataHistoryTitleColumn"
|
||||
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"
|
||||
xmlns:local="clr-namespace:FasdDesktopUi.Pages.DetailsPage.UserControls"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
Initialized="UserControl_Initialized">
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="60" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Border x:Name="TitleRowBorder"
|
||||
Padding="10"
|
||||
Cursor="Hand"
|
||||
CornerRadius="7.5 0 0 7.5"
|
||||
Style="{DynamicResource HighlightRowBorder}"
|
||||
MouseEnter="TitleRowBorder_MouseEnter"
|
||||
MouseLeave="TitleRowBorder_MouseLeave"
|
||||
MouseLeftButtonUp="TitleRowBorder_MouseLeftButtonUp"
|
||||
TouchDown="TitleRowBorder_TouchDown">
|
||||
<Border.Resources>
|
||||
<Style x:Key="HighlightRowBorder"
|
||||
TargetType="Border">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource BackgroundColor.DetailsPage.DataHistory.TitleColumn}" />
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=local:DetailsPageDataHistorySection}, Path=TitleRowIsHighlighted}"
|
||||
Value="True">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource HighlightBackgroundColor.DetailsPage.DataHistory.TitleColumn}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</Border.Resources>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="1"
|
||||
Padding="10"
|
||||
CornerRadius="0 0 0 7.5"
|
||||
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.TitleColumn}"
|
||||
Visibility="Collapsed">
|
||||
<Grid x:Name="MainGrid" />
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user