PRN221_-_SU_2024_-_FE_2416.webp
H

PRN221_-_SU_2024_-_FE_2416.webp

Kizspy | Question: 30 (Choose 1 answer)
What is the following Style tag used for?
Window x:Class="WPFControls.DemoStyle"<
<!--xmlns:-->
Title="DemoStyle" Height="200" Width="300">
<Window.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="Green" />
<Setter Property="FontSize" Value="20" />
</Style>
</Window.Resources>StackPanel Margin="10"><
<TextBlock>WPF </TextBlock>
</StackPanel>
<TextBox> NET</TextBox>
</Window>
A. Set foreground is Green and FontSize is 20 for TextBlock controls
B. Set foreground is Green and FontSize is 20 for TextBox controls
C. Set foreground is Green and FontSize is 20 for controls
D. Set background is Green and FontSize is 20 for controls
FUOVER

Thông tin

Category
PRN221
Thêm bởi
Hạnh Phúc
Ngày thêm
Lượt xem
1,226
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom