diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-12-17 15:18:56 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-12-17 15:18:56 +0200 |
| commit | 2d148c9f0de61bc09fbab89341dc05b82e45f78a (patch) | |
| tree | 459d49f94ce69a894630bed01e78089edcfa7076 /Software/Visual_Studio/PPC/Tango.PPC.Common/Resources | |
| parent | b98fb311b28c8e36b7b44775c641083d501ef92a (diff) | |
| download | Tango-2d148c9f0de61bc09fbab89341dc05b82e45f78a.tar.gz Tango-2d148c9f0de61bc09fbab89341dc05b82e45f78a.zip | |
Implemented PPC DataGrid Tech style.
Changed auto update icon.
Changed Backup and Restore module name.
Implemented Updates & Synchronization Details View.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Resources')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Resources/Styles.xaml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Resources/Styles.xaml b/Software/Visual_Studio/PPC/Tango.PPC.Common/Resources/Styles.xaml index 426372688..317b2f13f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Resources/Styles.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Resources/Styles.xaml @@ -44,4 +44,69 @@ <Setter Property="ItemContainerStyle" Value="{StaticResource BlankListBoxItem}"></Setter> </Style> + <Style TargetType="touch:TouchSimpleDataGrid" x:Key="TechGrid" BasedOn="{StaticResource {x:Type touch:TouchSimpleDataGrid}}"> + <Style.Resources> + <Style BasedOn="{StaticResource {x:Type DataGridColumnHeader}}" TargetType="{x:Type DataGridColumnHeader}"> + <Setter Property="Background" Value="{StaticResource TangoDarkForegroundBrush}" /> + <Setter Property="Foreground" Value="{StaticResource TangoLightForegroundBrush}" /> + <Setter Property="Padding" Value="5"></Setter> + </Style> + </Style.Resources> + <Setter Property="RowStyle"> + <Setter.Value> + <Style TargetType="DataGridRow" BasedOn="{StaticResource {x:Type DataGridRow}}"> + <Style.Triggers> + <Trigger Property="IsSelected" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + <Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}" /> + </Trigger> + <Trigger Property="IsFocused" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + <Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}" /> + </Trigger> + </Style.Triggers> + </Style> + </Setter.Value> + </Setter> + <Setter Property="CellStyle"> + <Setter.Value> + <Style TargetType="{x:Type DataGridCell}"> + <Setter Property="Template"> + <Setter.Value> + <ControlTemplate TargetType="{x:Type DataGridCell}"> + <Grid Background="{TemplateBinding Background}"> + <ContentPresenter VerticalAlignment="Center" /> + </Grid> + </ControlTemplate> + </Setter.Value> + </Setter> + <Style.Triggers> + <Trigger Property="IsSelected" Value="True"> + <Setter Property="Background" Value="Transparent"></Setter> + <Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}" /> + </Trigger> + </Style.Triggers> + </Style> + </Setter.Value> + </Setter> + + <Setter Property="Background" Value="{StaticResource TangoPrimaryBackgroundBrush}"></Setter> + <Setter Property="AutoGenerateColumns" Value="False"></Setter> + <Setter Property="SelectionUnit" Value="FullRow"></Setter> + <Setter Property="SelectionMode" Value="Single"></Setter> + <Setter Property="BorderBrush" Value="{StaticResource TangoDarkForegroundBrush}"></Setter> + <Setter Property="BorderThickness" Value="1"></Setter> + <Setter Property="HeadersVisibility" Value="Column"></Setter> + <Setter Property="CanUserAddRows" Value="True"></Setter> + <Setter Property="CanUserDeleteRows" Value="False"></Setter> + <Setter Property="CanUserReorderColumns" Value="False"></Setter> + <Setter Property="CanUserResizeColumns" Value="False"></Setter> + <Setter Property="CanUserSortColumns" Value="False"></Setter> + <Setter Property="IsReadOnly" Value="True"></Setter> + <Setter Property="VerticalGridLinesBrush" Value="{x:Null}"></Setter> + <Setter Property="HorizontalGridLinesBrush" Value="{StaticResource TangoGrayBrush}"></Setter> + <Setter Property="RowHeight" Value="50"></Setter> + <Setter Property="VerticalScrollBarVisibility" Value="Visible"></Setter> + <Setter Property="HorizontalScrollBarVisibility" Value="Disabled"></Setter> + </Style> </ResourceDictionary>
\ No newline at end of file |
