110,565
社区成员
发帖
与我相关
我的任务
分享
<UserControl x:Class="WpfControlLibrary1.UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="267" d:DesignWidth="288"
Background="Transparent" >
<Grid Background="Transparent">
<ListView Name="listView1" Margin="12,12,41,30" Opacity="1" Background="Transparent">
</ListView>
</Grid>
</UserControl>
this.BackColor = Color.FromArgb(1,2,3);
this.TransparencyKey = this.BackColor;