【单选题】You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a Button control for the application. You need to ensure that the application meets the f...
A.
Create a template. Declare a VisualState element in the template.
B.
Create a StoryBoard animation. Add an EventTrigger class to the Button control that begins the StoryBoard animation.
C.
Create a ScaleTransform class. Bind the ScaleX and ScaleY properties of the Button control to the Background property by using a custom value converter.
D.
Add a method named ChangeAppearance in the code-behind file. Subscribe the ChangeAppearance method to the MouseEnter event of the Button control.
【多选题】You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the background worker process (BWP). When the user clicks a button, the backg...
A.
Modify the Value property of the progress bar in DoCalculations.
B.
Modify the Value property of the progress bar in the ProgressChanged event handler of the background worker.
C.
Modify the Value property of the progress bar in the RunWorkerCompleted event handler of the background worker.
D.
Call the ReportProgress method of the background worker in DoCalculations.
E.
Call the ReportProgress method of the background worker in the DoWork event handler of the background worker.
【单选题】You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the applicati...
A.
Enable WPF tracing in the registry.Restart the application.
B.
Enable tracing by modifying local Group Policy.Restart the application.
C.
Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
D.
Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.