单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You need to ensure that the application meets the following requirements:
Displays a menu that is specific to the control selected by the user.
Displays the menu next to the control.
Which control should you use? ()
A. Menu
B. PopUp
C. ListBox
D. ContextMenu
相关考题
-
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that allows users to arrange images. You need to ensure that users can arrange child elements in a panel without affecting the size of the elements. You also need to ensure that child elements are oriented horizontally. Which control should you use?()
A. ListBox
B. DockPanel
C. WrapPanel
D. StackPanel -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?()
A. FlowDocument
B. FlowDocumentReader
C. FlowDocumentPageViewer
D. FlowDocumentScrollViewer -
单项选择题
You use Microsoft .NET Framework 4 to create a Windows Forms application. You write the following code segment. (Line numbers are included for reference only.) You need to ensure that the first time each user opens the application, a text field displays the following message: "Please enter your setting." Which code segment should you insert at line 03? ()
A. [UserScopedSetting()] [DefaultSettingValue("Please enter your setting.")]
B. [UserScopedSetting()] [SettingsDescription("Description: Please enter your setting.")]
C. [ApplicationScopedSetting()] [DefaultSettingValue("Please enter your setting.")]
D. [ApplicationScopedSetting()] [SettingsDescription("Description: Please enter your setting.")]
