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.
第1题
A.Use IntelliTrace.
B.Use data-driven tests.
C.Create a single test class.
D.Create a test method for each data variation.
第2题
A.Use a Trace object.
B.Use a Debug object.
C.Use the WPF Visualizer.
D.Use a PresentationTraceSources object.
第3题
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.
第4题
A.{ Binding Path=StringMember, Mode=TwoWay }
B.{ Binding Path=StringMember, NotifyOnSourceUpdated=True }
C.{ Binding Path=StringMember, NotifyOnTargetUpdated=True }
D.{ Binding Path=StringMember, UpdateSourceTrigger=PropertyChanged }
第5题
A.Move CustomerNameBrush to the App.xaml file.
B.Inherit from myPage in all additional pages that use CustomerNameBrush.
C.Add a reference to myPage to all additional pages that use CustomerNameBrush.
D.Bind controls that need CustomerNameBrush to myPage.Resources.CustomerNameBrush.
第6题
A.Use IntelliTrace.
B.Use UISpy.exe to extract the user interface (UI) information. Then, use MSTest.exe.
C.Use classes in the System.Windows.Automation and System.Windows.Automation.Text namespaces.
D.Use the Action Recording methodology to record the user interface (UI) actions.Then, use MSTest.exe.
第7题
A.{ Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }
B.{ Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }
C.{ Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }
D.{ Binding Source=lbxItems, Path=SelectedItem.DisplayValue }
第8题
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).
第9题
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.
第10题
NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You create a WPF window in the application.
You add the following code segment to the application.
public class ViewModel
{
public CollectionView Data { get; set; }
}
public class BusinessObject
{
public string Name { get; set; }
}
The DataContext property of the window is set to an instance of the ViewModel class.
The Data property of the ViewModel instance is initialized with a collection of BusinessObject objects.
You add a TextBox control to the Window.
You need to bind the Text property of the TextBox control to the Name property of the current item of the CollectionView of the DataContext object.
You also need to ensure that when a binding error occurs, the Text property of the TextBox control is set to N/A .
Which binding expression should you use?()
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!