Answer the question
In order to leave comments, you need to log in
White stripe on right edge of window, WPF?
how to remove the white bar on the right edge of the window window
<Window x:Class="calc.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:calc"
mc:Ignorable="d"
Title="MainWindow" Height="200" Width="200" WindowStyle="None" AllowsTransparency="True" ShowInTaskbar="False" Margin="0">
<StackPanel>
<Calendar HorizontalAlignment="Right" VerticalAlignment="Top" Margin="-16,-12,0,0" Height="170" Background="#FFA69191">
<Calendar.LayoutTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.8" ScaleY="1.8"/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Calendar.LayoutTransform>
</Calendar>
</StackPanel>
</Window>
Answer the question
In order to leave comments, you need to log in
<Calendar ... Margin="-16,-12,-4,0" ... >
Третье значение в минуса загоните тоже. Хотя это все как-то неправильно.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question