70-511 Exam Details

  • Exam Code
    :70-511
  • Exam Name
    :TS: Windows Applications Development with Microsoft .NET Framework 4
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :287 Q&As
  • Last Updated
    :Jan 26, 2022

Microsoft 70-511 Online Questions & Answers

  • Question 251:

    You plan to create a Windows Presentation Foundation (WPF) user control.

    You need to create a WPF user control that contains 12 areas that are identical in size. The solution must meet the following requirements:

    Ensure that if the control is resized, the relative size of the areas will remain the same.

    Minimize development effort. Which control should you use?

    A. StackPanel
    B. DockPanel
    C. Viewbox
    D. UniformGrid
    E. WrapPanel

  • Question 252:

    You use Microsoft -NET Framework 4 to create a Windows Presentation Framework (WPF) application.

    The application contains a DockPanel named DockPanel1. DockPanel1 contains a ListBox named List1 and a Button named Buttonl.

    You discover that DockPanel1 does not appear in the application.

    You set a breakpoint, and then you run the code in debug mode. You need to identify which property prevents DockPanel1 from appearing in the application.

    Which property should you identify? (To answer, select the appropriate property in the answer area.)

    Hot Area:

  • Question 253:

    You have an App.xaml file that contains the following markup:

    You need to create a TextBlock named txtBlock1 that uses PageTitleStyle. Which code should you use?

  • Question 254:

    You use Microsoft Visual Studio 2010 and Microsoft .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.

    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?

    A. {Binding Path=Data/Name, FallbackValue='N/A'}
    B. {Binding Path=Data.Name, FallbackValue='N/A'}
    C. {Binding Path=Data/Name, TargetNullValue='N/A'}
    D. {Binding Path=Data.Name, TargetNuliValue= 'N/A'}

  • Question 255:

    You develop a custom Chart control.

    The custom Chart control is defined in a class named ChartControl in a namespace named Contoso.Views.Chart.

    You need to include the Chart control in a page named DetailPage.xaml.

    What should you do? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)

    Select and Place:

  • Question 256:

    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 resource.
    B. Set the BasedOn property of the heading style to point to a static resource for the body text style.
    C. Set the Key property of the heading style to start with the name of the body text style.
    D. Set the TargetType property of the heading style to TextBlock.

  • Question 257:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You plan to create a custom control that contains four text input fields. Each of the text input fields within the control will contain a label.

    You need to ensure that the text input fields within the control can be validated by using a regular expression validator.

    Which class should you inherit from?

    A. TextBox
    B. TextElement
    C. UIElement
    D. UserControl

  • Question 258:

    You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit.

    You plan to add a DataGridView to display the dataset.

    You need to ensure that the DataGridView meets the following requirements:

    Shows Order Details for the selected order.

    Shows only Order Details for items that have UnitPrice greater than 20.

    Sorts Products by ProductName Which code segment should you use?

    A. ordersBindingSource.DataSource = productsBindingSource ordersBindingSource.DataMember = "FK_Order_Details_Products" productsBindingSource.Filter = "UnitPrice > 20" productsBindingSource. Sort = "ProductName"
    B. productsDataGridView.DataSource = ordersBindingSource productsBindingSource.Filter = "UnitPrice > 20" productsBindingSource.Sort = "ProductName"
    C. order_DetailsBindingSource.DataSource = ordersBindingSource order_DetailsBindingSource.DataMember = "FK_Order_Details_Orders" order_DetailsBindingSource.Filter = "UnitPrice > 20" productsBindingSource.Sort = "ProductName"
    D. order_DetailsDataGridView.DataSource = ordersBindingSource order_DetailsBindingSource.Filter "UnitPrice:> 20" productsBindingSource.Sort = "ProductName"

  • Question 259:

    You are developing a Windows Presentation Foundation (WPF) application by using Microsoft Visual Studio 2010. While testing the application, you discover that a control is not positioned properly within a canvas.

    You need to view the Dependency properties of the control at run time.

    Which tool should you use?

    A. Disassembly Window
    B. Locals List
    C. Watch List
    D. WPF Tree Visualizer

  • Question 260:

    You are upgrading the security features of a Microsoft .NET 3.5 application to .NET 4. You need to identify the -NET 3.5 security application programming interface (API) calls that implicitly use code access security (CAS) policies so that you

    can upgrade the calls.

    What should you do?

    A. Examine the AppDomain.CreateDomain() calls and ensure that they are using fully trusted assemblies.
    B. Look for a SecurityContextSource parameter in the security calls.
    C. Examine the AppDomain.DefineDynamicAssembly() calls and ensure that they are using fully trusted assemblies,
    D. Look for an Evidence parameter in the security calls.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-511 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.