You are developing a Windows Presentation Foundation (WPF) application. You configure PresentationTraceSource to track errors in a bound TextBox control in the application. You need to choose the window that the Trace Information is sent to.
Which Visual Studio window should you select?
You are developing a Windows Presentation Foundation (WPF) application. The application contains the following code in the code-behind file for an application window. (Line numbers are included for reference only.)
You are developing a Windows Presentation Foundation (WPF) application. You are implementing the security features for a function that requires File 10. The callers of this function that are higher in the stack do not have permission to read the C:\temp directory. The function also accesses other resources that require permission. You need to ensure that the function has the proper permissions to read the C:\temp directory, and that all other resources in the function can still be accessed. Which attribute should you include with the function?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application includes a function that is triggered by filling out a form and by clicking a button.
Currently, the application is tested manually.
You need to create an automated and iterative process to test the application.
What should you do?
You are developing a Windows Presentation Foundation (WPF) application that contains a custom Button control.
The custom Button control can be set as active by setting an IsActive property to true. You need to ensure that the IsActive property can be bound to a business object.
What should you do on the custom Button control?
A. Implement IsActive as a Microsoft .NET property.
B. Implement IsActive as a Dependency property.
C. Implement INotifyPropertyChanged
D. Implement IQueryable.
You use Microsoft .NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create a new object data source. You add the following components to a Windows Form: