Skip to content

Commit

Permalink
Fix xml param
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Mar 23, 2021
1 parent e5d6a48 commit a0548e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4542,7 +4542,7 @@
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid Background="{TemplateBinding NonClientAreaBackground}" Name="PART_NonClientArea" TextElement.Foreground="{TemplateBinding NonClientAreaForeground}">
<Grid Panel.ZIndex="1" Background="{TemplateBinding NonClientAreaBackground}" Name="PART_NonClientArea" TextElement.Foreground="{TemplateBinding NonClientAreaForeground}">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="Auto" />
Expand Down Expand Up @@ -4580,7 +4580,7 @@
<ContentPresenter shell:WindowChrome.IsHitTestVisibleInChrome="True" Grid.Column="2" x:Name="ContentPresenterMain" Content="{TemplateBinding NonClientAreaContent}" />
</Grid>
</Grid>
<AdornerDecorator Grid.Row="1">
<AdornerDecorator x:Name="AdornerDecorator" Grid.Row="1">
<ContentPresenter ClipToBounds="True" />
</AdornerDecorator>
<ResizeGrip Width="10" Height="10" x:Name="ResizeGrip" HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Row="1" IsTabStop="False" Visibility="Collapsed" />
Expand Down Expand Up @@ -4627,6 +4627,12 @@
<Trigger Property="WindowStyle" Value="None">
<Setter Property="ShowNonClientArea" Value="False" />
</Trigger>
<Trigger Property="ExtendViewIntoNonClientArea" Value="True">
<Setter TargetName="AdornerDecorator" Property="Grid.Row" Value="0" />
<Setter TargetName="AdornerDecorator" Property="Grid.RowSpan" Value="2" />
<Setter Property="ShowTitle" Value="False" />
<Setter Property="NonClientAreaBackground" Value="Transparent" />
</Trigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="ResizeMode" Value="CanResizeWithGrip" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static class CryptographyExtension
/// Decrypt string with RSA
/// </summary>
/// <param name="input"></param>
/// <param name="publicKey"></param>
/// <param name="privateKey"></param>
/// <returns></returns>
public static string DecryptStringRSA(this string input, string privateKey) => CryptographyHelper.DecryptStringRSA(input, privateKey);

Expand Down

0 comments on commit a0548e0

Please sign in to comment.