Cómo: WPF: Ventana sin bordes

Para crear una ventana sin borde en WPF:

En el tag Window debes agregar ‘WindowStyle=”None” ResizeMode=”NoResize”


<window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="prueba.MainWindow"
x:Name="Window"
Title="MainWindow"
Width="200" Height="200" Background="#FF300606">

<grid x:Name="LayoutRoot">
<textBlock Margin="24,67,90,41" TextWrapping="Wrap" Foreground="White"><run Text="Ventana con Borde"/></textBlock>
</grid>
</window>

Con Borde:

Sin Borde:

  • http://bredebs.net/como-wpf-cerrar-ventana-con-confirmacion/579 BredeBS » Cómo: WPF: Cerrar ventana con Confirmación

    [...] luego haré la aplicación de eso. Lo bueno es que se complementa con la aplicación WPF sin borde de ventana que mostré hace unas [...]

  • http://bredebs.net/como-wpf-con-fondo-transparente/592 BredeBS » Cómo: WPF con fondo transparente

    [...] al Tag Window el parámetro AllowTransparency=”True” y sumándolo al post anterior de cómo realizar una ventana sin bordes con WPF nos queda este [...]