You are developing WPF application for managing student information... btnSort and a DataGrid control named dgStudents on the design surface of the MainWindow.xaml properties : FirstName and LastName. You create the following code segment in the constructor of...The DataGrid control displays the list of students unsorted.You need to ensure that the list of students is sorted by last name.Which code segment should you add to the click event handler of the Button control?()

A.
B.
C.
D.
第1题:
You are developing a Windows Presentation Foundation (WPF) application to play audio files. You add MediaElement mediaElement1 and a Button control named btnPlayAudio to the design surface. The MediaElement co.. audio file. The LoadedBehavior attribute is set to Manual.You add the following code to the main Window.You set the command of the button to MediaCommands.Play.You need to ensure that the application will play the audio file when the button is pressed.What should you add to constructor of the main window ?()

A.
B.
C.
D.
第2题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. You create an icon file named Application.ico. You need to associate Application.ico with MyApp.exe when it is deployed. What should you do?()
第3题:
You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system You need to ensure that users can select a range of travel dates. What should you do ?()
第4题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the drag-and-drop functionality. You need to ensure that the drag-and-drop operation is stopped when a user moves the cursor outside the boundaries of the application form. Which enumeration member should you use?()
第5题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()
第6题:
A
B
C
D
第7题:
Enable WPF tracing in the registry.Restart the application.
Enable tracing by modifying local Group Policy.Restart the application.
Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.
第8题:
Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
Add a DocumentViewer control to the design surface. Then create a FixedDocument control.
Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.
Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.
第9题:
Frame
Slider
Viewbox
ScrollViewer
第10题:
Use IntelliTrace.
Use PresentationTraceSource.
Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.
Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.
第11题:
AutomationElementIdentifier
AutomationPeer
Keyboard
UICues
第12题:
DragAction.Cancel
DragAction.Drop
DragDropEffects.None
DragDropEffects.All
第13题:
You work as an application developer at Certkiller .com. Certkiller .com has been hired by a small local private school to develop a class library that will be used in an application named ManageAttendance for the purpose of managing student records.You are responsible for developing this class library. Certkiller .com has instructed you to create a collection in the application to store learners’ results. The school has informed you that they currently only have seven learners, but that this value will triple in the following year. Due to the limited resources, you need to ensure that the collection you create consumes a minimum amount of resources. What should you use to create the collection?()
第14题:
You are developing a Windows Presentation Foundation (WPF) application The application is for commercial use and requires a valid license key to be entered. You create a project type of Class Library code to validate license keys You need to ensure that the user enters a valid license key during installation of the software. Which deployment should reference the class library?()
第15题:
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? ()
第16题:
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You discover that when the application runs, a user control is not rendered correctly. You need to find out the user interface (UI) element of the window that is causing the rendering problem. What should you do?()
第17题:
You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()
第18题:
Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the debugger to step through the application code.
Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.
Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.
Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe).
第19题:
Autos
Immediate
Locals
Output
第20题:
In isolated storage.
On the database server.
In the ClickOnce data directory.
In the App.config file of the application.
第21题:
Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.
Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.
Add a DocumentViewer control to the design surface. The create a FixedDocument control.
第22题:
Set the Value property of the style setter to point to a static resource
Set the BasedOn property of the heading style to point to a static resource for the body text style
Set the Key property of the heading style to start with the name of the body text style
Set the TargetType property of the heading style to TextBlock
第23题:
Use Install the application from a file share. Select the Application is available online and offline option.
Use Install the application from CD-ROM or a DVD-ROM. Select the Application will not check for updates option.
Use Install the application from a Web site. Select the Application is available online only option.
Use Install the application from a Web site. Select the Application is available online and offline option.