<Window x:Class="Drawing.OpacityMask" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="OpacityMask" Height="313.6" Width="317.6" > <Window.Background> <ImageBrush ImageSource="c:\image.jpg"></ImageBrush> </Window.Background> <Grid Margin="10,50"> </Grid> </Window>
24.72.Window Style | ||||
24.72.1. | Window Background | |||
24.72.2. | Create a non-rectangular window | |||
24.72.3. | Transparent Window | |||
24.72.4. | Non-Rectangular window | |||
24.72.5. | Windows Transparent Background | |||
24.72.6. | Set WindowStyle = WindowStyle.ToolWindow | |||
24.72.7. | Set brush to Window background |