2012-04-18 84 views
0

我想有這樣的事情的:窗口中是否可能有多個不透明度?

<Grid> <-- opacity is .5 
    <Grid></Grid> <-- opacity is .9 (of total opacity, not relative to parent) 
    <Grid></Grid> <-- opacity is .9 
    <Grid></Grid> <-- opacity is .9 
</Grid> 

這可能嗎?

回答

0

在另一個網格中管理網格?

<Grid> 
    <Grid.ColumnDefinitions> 
     <ColumnDefinition/> 
     <ColumnDefinition/> 
     <ColumnDefinition/> 
    </Grid.ColumnDefinitions> 
    <Grid Grid.ColumnSpan="3"><Grid> <-- opacity is .5 
    <Grid Grid.Column="0"></Grid> <-- opacity is .9 
    <Grid Grid.Column="1"></Grid> <-- opacity is .9 
    <Grid Grid.Column="2"></Grid> <-- opacity is .9 
</Grid> 
相關問題