inital
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
<UserControl x:Class="FasdDesktopUi.Pages.DetailsPage.UserControls.DetailsPageDataHistoryValueColumn"
|
||||
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"
|
||||
xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
|
||||
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"
|
||||
Grid.Row="0"
|
||||
Padding="10"
|
||||
Style="{DynamicResource HighlightRowBorder}"
|
||||
Cursor="Hand"
|
||||
MouseLeftButtonUp="TitleRowBorder_MouseLeftButtonUp"
|
||||
TouchDown="TitleRowBorder_TouchDown"
|
||||
MouseEnter="TitleRowBorder_MouseEnter"
|
||||
MouseLeave="TitleRowBorder_MouseLeave">
|
||||
<Border.Resources>
|
||||
<Style x:Key="HighlightRowBorder"
|
||||
TargetType="Border">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}" />
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding RelativeSource={RelativeSource AncestorType=local:DetailsPageDataHistorySection}, Path=TitleRowIsHighlighted}"
|
||||
Value="True">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource HighlightBackgroundColor.DetailsPage.DataHistory.ValueColumn}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</Border.Resources>
|
||||
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="10" />
|
||||
<RowDefinition Height="30" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock x:Name="ColumnHeaderTextBlock"
|
||||
Grid.Row="0"
|
||||
Style="{DynamicResource DetailsPage.DataHistory.ColumnHeader}"
|
||||
Margin="5 0 0 0" />
|
||||
|
||||
<ico:AdaptableIcon x:Name="ColumnStatusIcon"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Bottom"
|
||||
IconHeight="25"
|
||||
IconWidth="25"
|
||||
BorderPadding="0"
|
||||
IsHitTestVisible="False"
|
||||
Margin="5 0 0 0" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Row="1"
|
||||
Padding="10"
|
||||
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
||||
Visibility="Collapsed">
|
||||
<Grid x:Name="MainGrid" x:FieldModifier="private" />
|
||||
</Border>
|
||||
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user