单选题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 tha

题目
单选题
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 Once

B

 Setup Project

C

 XBAP

D

 XCopy


相似考题
更多“单选题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 tha”相关问题
  • 第1题:

    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

  • 第2题:

    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

  • 第3题:

    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.Cancel
    • B、 DragAction.Drop
    • C、 DragDropEffects.None
    • D、 DragDropEffects.All

    正确答案:A

  • 第4题:

    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、 FrameworkElement
    • B、 UIElement
    • C、 UserControl
    • D、 Button

    正确答案:C

  • 第5题:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()

    • A、  Implement the INotifyPropertyChanged interface in the Product class.
    • B、  Implement the IQueryable<Product> interface in the ProductList class.
    • C、  Extend the DependencyObject class in the Product class.
    • D、 Extend the ObservableCollection<Product> class in the ProductList class.

    正确答案:D

  • 第6题:

    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、 AutomationElementIdentifier
    • B、 AutomationPeer
    • C、 Keyboard
    • D、 UICues

    正确答案:B

  • 第7题:

    单选题
    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

     AutomationElementIdentifier

    B

     AutomationPeer

    C

     Keyboard

    D

     UICues


    正确答案: A
    解析: 暂无解析

  • 第8题:

    单选题
    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


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    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 Once

    B

     Setup Project

    C

     XBAP

    D

     XCopy


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?()
    A

     FlowDocument 

    B

     FlowDocumentReader

    C

     FlowDocumentPageViewer

    D

     FlowDocumentScrollViewer


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    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.Cancel

    B

     DragAction.Drop

    C

     DragDropEffects.None

    D

     DragDropEffects.All


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    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

     FrameworkElement

    B

     UIElement

    C

     UserControl

    D

     Button


    正确答案: B
    解析: 暂无解析

  • 第13题:

    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

  • 第14题:

    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

  • 第15题:

    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.

    正确答案:D

  • 第16题:

    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.

    正确答案:C

  • 第17题:

    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、 Autos
    • B、 Immediate
    • C、 Locals
    • D、 Output

    正确答案:D

  • 第18题:

    单选题
    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

     Autos

    B

     Immediate

    C

     Locals

    D

     Output


    正确答案: C
    解析: 暂无解析

  • 第19题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that allows users to arrange images. You need to ensure that users can arrange child elements in a panel without affecting the size of the elements. You also need to ensure that child elements are oriented horizontally. Which control should you use?()
    A

     ListBox

    B

     DockPanel

    C

     WrapPanel

    D

     StackPanel


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    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


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    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.


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    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.


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    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.


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    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

     Frame

    B

     Slider

    C

     Viewbox

    D

     ScrollViewer


    正确答案: B
    解析: 暂无解析