Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

WPF Online Test

Topics Covered

  • Controls
  • Data Binding Documents in WPF
  • Graphics and Multimedia
  • Security (WPF)WPF Globalization and Localization Overview
  • Input and Commanding
  • Layout

Useful for hiring

  • WPF Developer
  • .Net Developer- WPF
  • .Net Programmer- WPF

Start hiring job-fit candidates using this assessment


"We realized that to acquire quality talent, our recruitment process was in dire need of automation. Too many of our technicalteam were simply wasting hours conducting interviews that did not yield the desired results. For us the foremost criteria were to finda recruitment partner who could tick all the right boxes"

Rehana Nisar, Gartner,
Global Product & Services Recruitment Head

How do you create Password field whose length should be 8 characters?

    • <StackPanel>
          <Label Content="Password:" />
          <PasswordBox x:Name="passwordBox" Width="130" MaxLength="8" PasswordChar="*" />

    • <StackPanel>
          <Label Content="Password:" />
          <PasswordBox x:Name="passwordBox" Width="130" Length="8" Char="*" />

    • <StackPanel>
          <Label Content="Password:" />
          <Password x:Name="passwordBox" Width="130" MaxLength="8" Password="*" />

    • None of the mentioned


You want to change the line height within a TextBlock to 25px. Which code snippet will you use?

    • <TextBlock Text="This is a multiline text." LineHeight="25px" />

    • <TextBlock Text="This is a multiline text." LineHeight="25" />

    • <TextBlock Text="This is a multiline text." LineHeight="25" LineStackingStrategy="BlockLineHeight" />

    • None of the mentioned


Visibility (defined on IElement) might sound like a strange property to talk about in the context of a layout,but it is indeed relevant. An element's visibility property actually isn't Boolean, but rather a three­state System.Windows.visibility enumeration. One of Its value is Collapsed. What is the meaning of this value?

    • The element is invisible yet still participates in a layout.

    • The element is invisible and does not participate in layout

    • The element gets rendered and participates in the layout.

    • None of the mentioned

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates