单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment to bind a customer object to several controls in a window.
You need to identify the source of the error.
What should you do?()
A. Use a Trace object.
B. Use a Debug object.
C. Use the WPF Visualizer.
D. Use a PresentationTraceSources object.
相关考题
-
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses data-bound controls. You discover that when the application is executed by users, one of the controls is not displayed properly. You need to view the property values assigned to the controls. What should you do?()
A. Use IntelliTrace.
B. Use PresentationTraceSource.
C. Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.
D. Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code. -
单项选择题
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a custom control that is used to display customer information. You discover that the custom control is not rendering correctly. You need to identify the WPF element that is causing the issue. You want to achieve this goal by using the minimum amount of administrative effort. What should you do?()
A. 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.
B. Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.
C. Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.
D. "Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe). -
单项选择题
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?()
A. Use the Local Window.
B. Use the WPF Visualizer.
C. Generate a trace log by using IntelliTrace.
D. Set a breakpoint at the control. Run the application.
