单项选择题
A. <TextBlock Text="{Binding}" />
B. <TextBlock Text="{TemplateBinding Content}" />
C. <ContentPresenter Content="{Binding}" />
D. <ContentPresenter />
单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that displays a high-resolution graphic image named Image1.jpg. You need to limit the width of the image to 200 pixels. You also need to preserve the aspect ratio of the image. Which code fragment should you use?()
单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only.) You need to ensure that a video file begins to play only when a user clicks Play. Which code fragment should you insert at line 06?()
单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has a window with a canvas element. You need to draw a black line that has rounded edges at each end. Which code fragment should you use?()