91-9990449935 0120-4256464 |
WPF Interview QuestionsThere is given frequently asked WPF interview questions and answers that has been asked in many companies. Let's see the list of top WPF interview questions. 1) What is WPF?WPF stands for Window Presentation Framework. It is the latest presentation API by Microsoft Windows. WPF is a 2D and 3D graphics engine. 2) What are the capabilities of WPF?WPF has following capabilities:
3) What is XAML?XAML is a declarative XML based language. It facilitates you to define objects and properties in XML. Its documents are loaded by XAML parser. 4) What is the use of XAML?XAML is used to describe the objects, properties and their relation in between them. It makes you able to create any type of objects i.e. graphical and non-graphical. 5) What is a routed event?There are many types of elements in a typical WPF application and these elements are set in an element tree relationship. A routed event is a type of event that is used to invoke handlers on multiple listeners in an element tree. 6) How many types of documents are supported by WPF?Two types of documents are supported by WPF. Flow format document: Flow format document is used to alter the content to fit on the screen size. Fixed format document: Fixed format document present content irrespective of the screen size. 7) Which namespace is required for working with 3D?System.Windows.Media.Medi3D is the namespace required for working with 3D. 8) Can we say that WPF is the replacement of DirectX?No, WPF cannot replace DirectX, because WPF is not enough efficient to create games with stunning graphics. WPF is only meant to be a replacement of windows forms, not DirectX. 9) What are the dependency properties?Dependency properties are the type of properties which belong to a specific class but can be used for another class. 10) What is CLR?CLR stands for Common Language Runtime. It is a run time environment for .NET 11) What are the freezable objects in WPF?: An object which is unchangeable is known as freezable object. The freezable objects perform better and also safer if they are required to be shared between threads. 12) What is the difference between Silverlight and WPF browser application?These are the main differences between the Silverlight and WPF browser application:
13) Which tool is required to sketch a mock of your WPF application?The SketchFlow tool is used to sketch a mock of WPF application. 14) What are the different types of layout controls?Following are the different types of layout controls:
15) What is PRISM?PRISM is a framework that is used for creating complex applications for WPF, Silverlight or Window phones. It uses MVVM, IC, Command Pattern, DI and separation of concerns to get loose coupling. 16) What is CustomControl?CustomControl is used to expand the functions of existing controls. It contains a default style in theme and code file. 17) What is the use of custom control?Custom control is the best way to make a control library. It can also be styled or template. 18) What is the Path animation in WPF?Path animation is a different type of animation. In this animation, the animated objects follow a path set by the path geometry. 19) What is the meaning of BAML in WPF?BAML stands for Binary Application Markup Language. It is a type of XAML that has been tokenized, parsed, and changed into binary form. 20) What is the difference between XAML and BAML?The only difference between XAML and BAML is that BAML is a compressed declarative language which is loaded and parsed quicker than XAML. 21) What is the difference between Page control and Window Control in WPF?
22) What is the parent class of control class of WPF?The control class of WPF is derived from FrameworkElement. 23) What is the difference between DynamicResource and StaticResource?
24) Is MDI supported in WPF?MDI is not supported in WPF. The same functionality of MDI can be given by UserControl. 25) What is serialization?Serialization is a process of converting the state of an object to stream of bytes. |