Advanced WPF Interview Questions and Answers for Freshers - 1

Question: 1

What are the tools or soft ware packages available in the market that you can use to work with silver light?

The three primary software packages that can be used to work with silver light are

Visual Studio 2010,

Expression Studio and

Component One Studio.

Question: 2

Write the names of Web browsers that support Silver light?

The Web browsers that support silver light are

Microsoft Internet Explorer,

Mozilla Firefox and

Apple Safari.

Question: 3

What are the brushes that are available in WPF?

The brushes available in WPF are objects of the classes that inherit the System.Windows.Media.Brush class. The brushes that are available in WPF 4.0 are:

Solid Color Brush – Paints a given area with a solid color

Linear Gradient Brush – Paints a given area with linear gradient

Radial Gradient Brush – paints a given area with radial gradient

Drawing Brush – paints a given area with a drawing

Image Brush – paints a given area with an image

Visual Brush – paints a given area with a Visual object

Question: 4

What role does a Data template play in WPF controls?

The Data templates enable you to modify the presentation of the data or content of a WPF control. You can create your own data template and override the default presentation style of the control content. The data template supports two types of controls, content controls and list controls. The data templates are objects of the Data Template class.

Question: 5

What are the formats of audio-video data that WPF supports?

WPF supports the

Windows Media Video (.wmv),

Advanced Systems Format (.asf),

Moving Picture Expert Group (.mpeg) and

Audio Video Interleave (.avi) file formats for audio video data.

Related Questions