Windows Presentation Foundation ( WPF)quiz

7 Questions | Total Attempts: 273

SettingsSettingsSettings
Please wait...
Windows Presentation Foundation ( WPF)quiz

Congratulations for finishing up the research report. However, you need to make a presentation to the board of directors. Where do you start? Worry not; this quiz will well prepare you for that.


Questions and Answers
  • 1. 
    What is type of Content property?
  • 2. 
    For the Content property of a control to render properly - the items included should derive from which class? If the elements added to Content do not derive from this class then their ToString() method is called.
  • 3. 
    What property do we use for a TextBox control to display the vertical and horizontal scroll bar?
  • 4. 
    The TextBox control shows a default context menu with options to Cut, Copy and Paste. Can we override this context menu by defining our own in the TextBox control?  
    • A. 

      True

    • B. 

      False

  • 5. 
    Can we store the ContextMenu in Resource so that we can reuse it for various control on a form?
    • A. 

      True

    • B. 

      False

  • 6. 
    What are the places where we can store resources?
    • A. 

      Resource dictionaries

    • B. 

      Window

    • C. 

      Container control

    • D. 

      Application level (App.xaml)

    • E. 

      Azure service

  • 7. 
    What are the considerations in choosing the location to store a resource?
Back to Top Back to top