Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在silverlight页面上添加透明层。?_Silverlight_Silverlight 4.0 - Fatal编程技术网

如何在silverlight页面上添加透明层。?

如何在silverlight页面上添加透明层。?,silverlight,silverlight-4.0,Silverlight,Silverlight 4.0,我想在我的silverlight页面上添加一个tranparent层。我在网格中使用堆栈面板: <Grid> <!--- Here is my normal content --> <StackPanel HorizontalAlignment="Stretch" Opacity="0.8" VerticalAlignment="Stretch" > <TextBlock HorizontalAlignment="Center"

我想在我的silverlight页面上添加一个tranparent层。

我在
网格中使用
堆栈面板

<Grid>
 <!--- Here is my normal content -->
  <StackPanel  HorizontalAlignment="Stretch" Opacity="0.8"  VerticalAlignment="Stretch" >
        <TextBlock HorizontalAlignment="Center" 
                   VerticalAlignment="Center"  
                   Text="Something on the overlay!"/>
  </StackPanel>
</Grid>