격자 레이아웃의 배경 이미지에 이상한 문제가 있습니다. 어떤 이유로 ListPicker가 이미지를 완전히 덮지 않습니다. 대신 약간의 불투명도가 적용 ...격자 배경 이미지 불투명도 문제
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<Grid>
<Grid.Background>
<ImageBrush
ImageSource="/BrewingApp;component/Images/icon_gears_big.png"
AlignmentX="Right"
AlignmentY="Bottom"
Stretch="None"
Opacity="0.5" />
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
...
<StackPanel
Grid.Row="1"
Margin="0,12,0,0">
<TextBlock Text="More Stuff :-)"></TextBlock>
<Rectangle
Grid.Row="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Height="1"
Stroke="Red"
StrokeThickness="1" >
</Rectangle>
<toolkit:ListPicker
Header="Hop Formula"
ItemsSource="{Binding HopFormulaList}"
SelectedItem="{Binding HopFormulaSelection, Mode=TwoWay}"
HorizontalAlignment="Stretch" OpacityMask="Blue" />
</StackPanel>
</Grid>
감사합니다 (그림에서 기어 아이콘 봐)!
OpacityMask = "Blue"가 참조하는 것은 무엇입니까? – paul
죄송합니다. 나는 다른 값으로 조금 놀기 시작했습니다 ... 저는 OpacityMask를 사용한다는 것을 의미하지는 않았습니다. 나는 그것을 제거하는 것을 잊었을 것입니다! – Tom