You use Microsoft .NET Framework 4 to create a custom Window

题目
多选题
You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application. Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard. You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling. Which two actions should you perform?()
A

 Mark the resource as an embedded resource in each application. 

B

 Create a resource in an XAML file that contains the logo and style configurations.

C

 Create a resource in a custom control that contains the logo and style configurations.

D

 Add the resource as a ResourceDictionary in the MergedDictionaries collection of each application.

E

 Use ResourceManager to read the content of the resource. Manually assign the style configurations included in the resource file to the appropriate control in each application.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application. Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard. You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling. Which two actions should you perform?()

  • A、 Mark the resource as an embedded resource in each application. 
  • B、 Create a resource in an XAML file that contains the logo and style configurations.
  • C、 Create a resource in a custom control that contains the logo and style configurations.
  • D、 Add the resource as a ResourceDictionary in the MergedDictionaries collection of each application.
  • E、 Use ResourceManager to read the content of the resource. Manually assign the style configurations included in the resource file to the appropriate control in each application.

正确答案:B,D

第2题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  | English | Chinese | Japan | Korean | - 112 - Test Information Co., Ltd. All rights reserved. You need to ensure that the child controls of the server control are uniquely identified within thecontrol hierarchy of the page.  Which interface should you implement? ()

  • A、the ITemplatable interface
  • B、the INamingContainer interface
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

第3题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()

  • A、the ITemplatable interface 
  • B、the INamingContainer interface 
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

第4题:

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has multiple data entry windows. Each window contains controls that allow the user to type different addresses for shipping and mailing. All addresses have the same format. You need to ensure that you can reuse the controls. What should you create?()

  • A、 a user control
  • B、 a data template
  • C、 a control template
  • D、 a control that inherits the Canvas class

正确答案:A

第5题:

You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4. You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer. What should you do?()

  • A、 Use a custom action. 
  • B、 Set the MinVersion property to .NET Framework 4.
  • C、 Set the Version property of Windows Installer to .NET Framework 4.
  • D、 Set the Version property of the Launch Condition to .NET Framework 4.

正确答案:D

第6题:

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.  You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.  You need to ensure that the application displays the details of the client-side object on the debugger console.  What should you do?()

  • A、Use the Sys.Debug.fail method.
  • B、Use the Sys.Debug.trace method.
  • C、Use the Sys.Debug.assert method.
  • D、Use the Sys.Debug.traceDump method.

正确答案:D

第7题:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to implement a test strategy for the application. You need to ensure that the test strategy meets the following requirements: Test data can be added to the test project without recompiling. Multiple variations of a test can be executed at run time. What should you do? ()

  • A、 Use IntelliTrace.
  • B、 Use data-driven tests.
  • C、 Create a single test class.
  • D、 Create a test method for each data variation.

正确答案:B

第8题:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the LINQ ParallelEnumerable. AsParallel method to perform multiple queries on a database. You need to ensure that queries can execute on separate threads concurrently. What should you do? ()

  • A、 Use the AsOrdered method.
  • B、 Use the SelectMany method.
  • C、 Use the AutoBuffered option in the WithMergeOptions method.
  • D、 Use the WithExecutionMode method with the ParallelExecutionMode.ForceParallelism parameter.

正确答案:D

第9题:

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、 Menu
  • B、 PopUp
  • C、 ListBox
  • D、 ContextMenu

正确答案:D

第10题:

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a custom control named Wheel. You need to ensure that the Speed property of Wheel can be animated. What should you do?()

  • A、 Inherit the DependencyObject class.
  • B、 Declare the Speed property as a dependency property.
  • C、 Declare an animation of the Speed property from within the code-behind file.
  • D、 Implement the System.Windows.Media.Animation.IAnimatable interface with the Wheel class.

正确答案:B

更多相关问题