Archive for the ‘C#’ Category
If your objective is to develop a software with highly customized Windows then start a new WPF application in Visual Studio (VS). Currently I am developing a new ‘Desktop Sticky Notes’ software hence it is important that my windows (notes) are designed like an e-replica of a real sticky note on your desktop.
As such I started a new WPF project, dragged a Grid control from the Toolbox and decided to set my WindowStyle property to None, AllowTransparency to True and finally ResizeMode to NoResize. These steps would generate the following XAML code in VS:
1 2 3 4 5 6 7 8 | <window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" ResizeMode="NoResize" AllowsTransparency="True" Opacity="1" WindowStyle="None"> <grid> <grid Height="311" HorizontalAlignment="Left" Name="grid1" VerticalAlignment="Top" Width="503" /> </grid> </window> |
