WPF Interview Questions and Answers
Question - 51 : - What is PRISM?
Answer - 51 : -
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.
Question - 52 : - Is MDI supported in WPF?
Answer - 52 : -
MDI is not supported in WPF. The same functionality of MDI can be given by UserControl.
Question - 53 : - What is the difference between DynamicResource and StaticResource?
Answer - 53 : -
StaticResource | DynamicResource |
StaticResources evaluate the resource one time only. | DynamicResource evaluates the resources every time they are required. |
StaticResource is light. | DynamicResource is heavy due to frequently evaluated. |
Question - 54 : - What is the parent class of control class of WPF?
Answer - 54 : -
The control class of WPF is derived from FrameworkElement.
Question - 55 : - What is the difference between XAML and BAML?
Answer - 55 : -
The only difference between XAML and BAML is that BAML is a compressed declarative language which is loaded and parsed quicker than XAML.
Question - 56 : - What is the meaning of BAML in WPF?
Answer - 56 : -
BAML stands for Binary Application Markup Language. It is a type of XAML that has been tokenized, parsed, and changed into binary form.
Question - 57 : - What is the Path animation in WPF?
Answer - 57 : -
Path animation is a different type of animation. In this animation, the animated objects follow a path set by the path geometry.
Question - 58 : - What is the use of custom control?
Answer - 58 : -
Custom control is the best way to make a control library. It can also be styled or template.
Question - 59 : - What is CustomControl?
Answer - 59 : -
CustomControl is used to expand the functions of existing controls. It contains a default style in theme and code file.
Question - 60 : - What is MVVM?
Answer - 60 : -
MVVM is stand for Model View ViewModel. It is a framework for making applications in WPF. MVVM is the same as the MVC framework. It is a 3-tier architecture plus one more layer. Loose coupling can be attained by using MVVM.