需要在DockLayoutManager设计浮动面板FloatGroups,发现怎么都无法将其背景变为透明,以下是代码
[CSS] 纯文本查看 复制代码 <dxdo:DockLayoutManager.FloatGroups>
<dxdo:FloatGroup GroupBorderStyle="NoBorder" BorderBrush="Transparent" FloatSize="200,200" FloatLocation="243.2,80.8000000000001">
<dxdo:LayoutPanel BorderBrush="Transparent" Background="Transparent" ShowBorder="False" x:Name="paneWarning1" Caption="报警信息" ShowCaptionImage="False" >
<dxdo:LayoutPanel.Appearance>
<dxdo:Appearance>
<dxdo:Appearance.Normal>
<dxdo:AppearanceObject>
<dxdo:AppearanceObject.Background>
<SolidColorBrush Color="#00FFF700" />
</dxdo:AppearanceObject.Background>
</dxdo:AppearanceObject>
</dxdo:Appearance.Normal>
<dxdo:Appearance.Active>
<dxdo:AppearanceObject Background="#00CD0A0A" Foreground="#FFF63737"/>
</dxdo:Appearance.Active>
</dxdo:Appearance>
</dxdo:LayoutPanel.Appearance>
</dxdo:LayoutPanel>
</dxdo:FloatGroup>
</dxdo:DockLayoutManager.FloatGroups>
运行以后浮动面板样式如下,并没有透明
求助各位大神有知道怎么解决的吗?
|