Buy Questpond's video subscriptions on
huge discount
.
Online: 1660
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
> WPF
More on WPF
WPF FAQs
|
FAQs on WPF and Silverlight
WPF Interview Questions and Answers (67) - Page 1
Latest and authentic Interview questions. You can also
post an interview question
and
win monthly prizes
as well as gain community
credit points
.
67 records found.
Post
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Exclusive Questions
Get 650+ Questpond's Interview videos on discount
Loading ...
What is WPF?
Windows Presentation Framework is the new
presentation API in WinFX. WPF is a two and three dimensional graphics engine. It has
the following capabilities:-
v Has all equivalent common user controls like buttons, check boxes sliders etc.
v Fixed and flow format documents
v Has all of the capabilities of HTML and Flash
v 2D and 3D vector graphics
v Animation
v Multimedia
v Data binding
What is XAML?
XAML (pronounced as Zammel) is a declarative XML-based language by which you can
define object and properties in XML. XAML document is loaded by a XAML parser.
XAML parser instantiates objects and set there properties. XAML describes objects,
properties and there relation in between them. Using XAML you can create any kind of
objects that means graphical or non-graphical. WPF parses the XAML document and
instantiates the objects and creates the relation as defined by XAML.
What are attached properties?
These are dependency properties that belong to one class but can be used in another.
Consider the below code snippet:-
<Rectangle Height="72" Width="131" Canvas.Left="74" Canvas.Top="77" />
4 7 9
Height and Width are regular properties of the Rectangle. But Canvas.Top and Canvas.
Left is dependency property as it belongs the canvas class. It’s used by the Rectangle to
specify its position within Canvas.
What is a Routed event?
In a typical WPF application, it contains many elements. These elements exist in an element tree relationship with each other. A routed event is a type of event that can invoke handlers on multiple listeners in an element tree, rather than just on the object that raised the event.
What are the core WPF assemblies?
The core WPF assemblies are,
WindowsBase.dll:-
It defines the core types constituting the infrastructure of WPF API.
PresentationCore.dll:-
Defines numerous types constituting foundation of WPF GUI layer.
PresentationFoundation.dll:-
It defines WPF control types, animation & multimedia support, data binding suport and other WPF services.
Besides these three libraries WPF also uses an unmanaged binary called milcore.dll which acts as a bridge between WPF assemblies and DirectX runtime layer.
What is the use of System.Windows.Media namespace?
It is the root namespace to several other media related namespaces. It provides different types to work with animations, 3D rendering, text rendering and other multimedia services.
What is WPF?
Microsoft has introduced WPF(Windows Presentation Foundation) API in .NET3.0 framework for the first time. WPF merged all the unrelated APIs into a single unified object model. So if you want to use 3D graphics or multimedia for your application you do not use to need use different APIs. WPF provides all the functionalities you need to develop richer GUI applications.
Using WPF we can develop GUI for both windows application and web application.
How to define a button USING XAML?
To define a button in WPD using XAML use the following syntax,
<Button Name="btnName">btnCaption</Button>
Example:-
<Button Name="btnClick">Click Me</Button>
Here the <Button> element specifies the use of the
Button
class.
What is the use of "System.Windows.Markup" namespace in WPF?
The
System.Windows.Markup
namespace provides some helper classes for XAML code.
Which namespace provide classes for integration with WPF and Win32?
The "System.Windows.Interop" namespace provides classes for integration of WPF with Win32.
Which class of the WPF is the base class of all the user-interactive elements?
NOTE: This is objective type question, Please click question title for correct answer.
Which class is the base class of all the visual elements of WPF?
NOTE: This is objective type question, Please click question title for correct answer.
Control class of WPF is derived from which class?
NOTE: This is objective type question, Please click question title for correct answer.
The core classes for User Interface is located in which namespace?
NOTE: This is objective type question, Please click question title for correct answer.
Which namespace provide classes to work with images, sound, video, etc?
The System.Windows.Media namespace provide classes to work with images, sound, video, etc in WPF.
What is the use of System.Windows.Navigation namespace in WPF?
System.Windows.Navigation namespace contains different classes for navigation between windows.
What is 'One-way-to-Source ' binding property?
In One-way-to-Source binding when the target property changes, the source object gets updated.
Which namespace is used to work with 3D in WPF.
The System.Windows.Media.Medi3D namespace is used to work with 3D.
Which of these is not a class defined by System.Windows.Shapes namespace?
NOTE: This is objective type question, Please click question title for correct answer.
Consider this XAML snippet <Window.Resources> <Style x:Key="dd" TargetType="Button"> <Setter Property="Background" Value="Pink"/> <Setter Property="Foreground" Value="Blue"/> </Style> </Window.Resources> <Grid> <Button Height="100" Width="100" Foreground="Yellow" Content="click here" Background="Yellow"/> </Grid> What is the Backcolor of the Button
NOTE: This is objective type question, Please click question title for correct answer.
1
2
3
4
More WPF Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
Interview Questions and Answers Categories
.NET Certifications
.NET Core
.NET Framework
ADO.NET
Android
Angular
AngularJS 1x
Aptitute Test
ASP.NET
ASP.NET AJAX
ASP.NET Core
ASP.NET MVC
ASP.NET Web API
Aurelia
Azure
Best Practices
BizTalk Server
Bootstrap
C#
Cloud
CMS
CSS 3
Data Structures & Algorithms
Design Pattern & Practices
DotNetFunda.Com
Entity Framework
Error and Solution
F#
Function Points (FPA)
HR
HTML 5
IIS
Interview Questions
JavaScript
jQuery
Kinect
LightSwitch
LINQ
Management
Mobile Development
MSBI (SSIS, SSRS, SSAS)
Mule
Networking
News and Community
Node.js
NoSql
OOPS
Oracle
Others
PostgreSQL
PowerShell
Product Reviews
Project Management
Python
QA (Testing)
R Language
Regular Expressions
SEO
SharePoint
SignalR
Silverlight
Sql Server
TypeScript
UML
VB.NET
Visual Studio
WCF
Web Analytics
Web Services, Remoting
Windows 8
Windows Forms
Windows Metro
Windows Phone
WPF
WWF
XML