-1
我需要把我的窗口周圍的邊框。標題邊框WPF
我可以在頂部的35像素內放置一個標題嗎?
<Window x:Class="LCDC.InterfazGrafica.frmModoDePago"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
SizeToContent="WidthAndHeight" FontSize="20"
ResizeMode="NoResize"
AllowsTransparency="True" WindowStyle="None"
WindowStartupLocation="CenterScreen">
<Border BorderBrush="#090A9E" BorderThickness="5,35,5,5">
<Grid>
...
</Grid>
</Border>
</Window>
該邊框可以很容易地被另一個控件覆蓋。我認爲'Border'控件中沒有任何東西可以幫助你。 – BradleyDotNET
是的,我使用WindowStyle =「無」 – avechuche
嗯......好的。不知道爲什麼相關(除了刪除最初的邊框)。你仍然可以在自己的*邊框上覆蓋任何你想要的東西。 – BradleyDotNET