B
B
bur-lis2017-06-11 19:35:49
WPF
bur-lis, 2017-06-11 19:35:49

White stripe on right edge of window, WPF?

how to remove the white bar on the right edge of the window window
a263e7ecc2034e3cba216eb7cadcd361.png

<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

1 answer(s)
J
Johnny Gat, 2017-06-11
@bur-lis

<Calendar ... Margin="-16,-12,-4,0" ... >
Третье значение в минуса загоните тоже. Хотя это все как-то неправильно.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question