单项选择题
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?()
A.
B.
C.
D.
点击查看答案
相关考题
-
单项选择题
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 rotate the rectangle by 45 degrees by using its upper-left corner as the axis. Which code fragment should you insert at line 04?()
A.
B.
C.
D. -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has multiple data entry windows. Each window contains controls that allow the user to type different addresses for shipping and mailing. All addresses have the same format. You need to ensure that you can reuse the controls. What should you create?()
A. a user control
B. a data template
C. a control template
D. a control that inherits the Canvas class -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You plan to create a custom control that contains four text input fields. Each of the text input fields within the control will contain a label. You need to ensure that the text input fields within the control can be validated by using a regular expression validator. Which class should you inherit from?()
A. TextBox
B. TextElement
C. UIElement
D. UserControl
