网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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.


参考答案

更多 “ 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. ” 相关考题
考题 You are developing a Windows Presentation Foundation (WPF) application. All of the application styles are in the file name Themes.dllYou have the followiing markup segment.BlueBackground is defined in a XAML file named BlueTheme.xaml. The XAML markup is compiled into the Themes.dll file.You need to ensure that the XAML file is referenced so that the application can apply the settings in the BlueBackground style.()A.B.C.D.

考题 You are developing a Windows Presentation Foundation (WPF) application that display pricing and inventory.List box‘s ItemsSource property has decimal and string types. Decimals represent price and strings represents the folowing markup is defined as follows.You need to ensure that data templates are used to format the strings without changes and the decimals as ..Which markup segment should you insert at line 05 ?()A.B.C.D.

考题 You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from ListT.. class named Lead. The Lead class contains the properties Title and Revenue.You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemsSource property to Leads as follows.You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue ...What should you do ?()A.B.C.D.

考题 You are developing a Windows Presentation Foundation (WPF) application for a travel reservation systemYou need to ensure that users can select a range of travel dates.What should you do ?() A. Add single DatePicker control to the design surfaceB. Add single Calendar control to the design surfaceC. Add single MediaElement control to the design surface to display a calendarD. Add the appropriate Windows Forms references to the project references. Add a single Windows Forms DateTimePicker control to the design surface

考题 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.

考题 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?()A、 The HybridDictionary collection class.B、 The HashTable collection class.C、 The ListDictionary collection class.D、 The StringCollection collection class.

考题 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?()A、Use the File Types Editor tool.B、Rename the icon file to MyApp.exe .ico.C、Set the AddRemoveProgramsIcon property to Application.ico.D、Use the File System Editor tool to set the Icon property to Application.ico.

考题 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?()A、Click OnceB、Setup ProjectC、XBAPD、XCopy

考题 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 ?()A、Add single DatePicker control to the design surfaceB、Add single Calendar control to the design surfaceC、Add single MediaElement control to the design surface to display a calendarD、Add the appropriate Windows Forms references to the project references. Add a single Windows Forms DateTimePicker control to the design surface

考题 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? ()A、MenuB、PopUpC、ListBoxD、ContextMenu

考题 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?()A、DragAction.CancelB、DragAction.DropC、DragDropEffects.NoneD、DragDropEffects.All

考题 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.

考题 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?()A、In isolated storage.B、On the database server.C、In the ClickOnce data directory.D、In the App.config file of the application.

考题 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? ()A、FrameworkElementB、UIElementC、UserControlD、Button

考题 单选题You are developing an application that dynamically loads assemblies from an application directory. You need to write a code segment that loads an assembly named Company1.dll into the current application domain. Which code segment should you use?()A AB BC CD D

考题 单选题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 plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()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.

考题 单选题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 ?()A AutosB ImmediateC LocalsD Output

考题 单选题You are developing a Windows Presentation Foundation (WPF) application.You need to display HTML content from a Web page on the WPF form. What should you do?()A Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B Add a DocumentViewer control to the design surface. Then create a FixedDocument control.C Add a WebBrowser control to the design surface. Then use the Navigate method to navigate the URI object.D Add a ContentControl control to the design surface. Then reference a WebClient object to return an HTML string.

考题 单选题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?()A In isolated storage.B On the database server.C In the ClickOnce data directory.D In the App.config file of the application.

考题 单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that displays an image. You need to ensure that users can stretch and scale the image. Which control should you use?()A FrameB SliderC ViewboxD ScrollViewer

考题 单选题You are developing a Windows Presentation Foundation (WPF) application. You need to display HTML content from a Web Page on the WPF form. What should you do?()A Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.C Add a DocumentViewer control to the design surface. The create a FixedDocument control.

考题 单选题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 are developing a Windows Presentation Foundation (WPF) application. The application contains stylized body text and heading text. The heading text is a slight variation of the body text. You need to ensure that if the body text changes, the heading text automatically inherits those changes. What should you do ?()A Set the Value property of the style setter to point to a static resourceB Set the BasedOn property of the heading style to point to a static resource for the body text styleC Set the Key property of the heading style to start with the name of the body text styleD Set the TargetType property of the heading style to TextBlock

考题 单选题You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application. You need to ensure that the test class can repeat user input. From which base class should the test class inherit?()A AutomationElementIdentifierB AutomationPeerC KeyboardD UICues

考题 单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application requires frequent updates. You want to use the ClickOnce technology to distribute the application to Internet users. You need to ensure that the application is automatically updated without requiring user intervention. You also need to ensure that the users execute the most recent version of the application. What should you do when you publish the application? ()A Use Install the application from a file share. Select the Application is available online and offline option.B Use Install the application from CD-ROM or a DVD-ROM. Select the Application will not check for updates option.C Use Install the application from a Web site. Select the Application is available online only option.D Use Install the application from a Web site. Select the Application is available online and offline option.

考题 单选题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?()A DragAction.CancelB DragAction.DropC DragDropEffects.NoneD DragDropEffects.All