Index

WPF tagged Questions - Page 1

What is WPF?


WPF is an acronym of Windows Presentation Foundation. It is an application programming Interface for developing rich UI on Windows. WPF is introduced in .NET 3.0.

What is a .baml file in WPF?


BAML is an acronym of Binary application markup language. XAML will be converted to baml at compilataion time since parsing the xaml at runtime would cause performance issues.

Can we use regular properties in XAML?


No. Regular properties cannot be used in XAML (only dependency properties could be used in XAML).

What are the types of triggers available in WPF?


- Style Trigger (for styling changes)
- Data Trigger
- Event Trigger (only applicable to animations)

Which is the base object from which all the WPF controls are inheriting from?


DependencyObject

What is XAML and how it is related to WPF?


XAML is a new mark up language which is used for defining UI elements and its relationships with other UI elements. The XAML is introduced by WPF in .NET 3.0 WPF uses XAML for UI design.

What is Dependency Property In WPF?


Windows Presentation Foundation (WPF) has a set of services that is used to extend the functionality of a common language runtime property. These services are referred as the WPF property system. A property that is backed by the WPF property system is known as a dependency property.
Advantages:
- Change Notification
- Property Value inheritance

What are the names of main assemblies used by Windows Presentation Foundation (WPF)?


- WindowsBase
- PresentationCore
- PresentationFoundation

What is the root namespace used for Animations and 3D rendering in WPF?


System.Windows.Media namespace.

WPF new features in .net 4.5


- The new Ribbon control, which enables you to implement a ribbon user interface that hosts a Quick Access Toolbar, Application Menu, and tabs.
- The new INotifyDataErrorInfo interface, which supports synchronous and asynchronous data validation.
- New features for the VirtualizingPanel and Dispatcher classes.
- Improved performance when displaying large sets of grouped data, and by accessing collections on non-UI threads.
- Data binding to static properties, data binding to custom types that implement the ICustomTypeProvider interface and retrieval of data binding information from a binding expression.
- Repositioning of data as the values change (live shaping).
- Better integration between WPF and Win32 user interface components.
- Ability to check whether the data context for an item container is disconnected.
- Ability to set the amount of time that should elapse between property changes and data source updates.
- Improved support for implementing weak event patterns. Also, events can now accept markup extensions.

What is stack and wrap panel in wpf?


Stack Panel:
StackPanel is one of layout control in WPF. We can place the child controls inside the stack panel either horizontally or vertically. So it provides two types of orientations- Horizontal Orientation and Vertical orientation.

Wrap Panel:
Wrap panel is another layout control which is similar to the StackPanel. Wrap panel not only keep the control in horizontal and vertical orientation but also wrap them in to new line if there is no space. Here also the orientation can be set as Horizontal or Vertical. Its main use is to arrange the tabs in the tab control, menu control or in toolbar items.

What is Prism framework?


Prism is the framework or the set of guidelines which is used to develop the WPF desktop application as well as the Silverlight Rich Internet applications. So it’s a kind of Design pattern to Develop the XAML based application. It also used to develop the Windows 7 applications. Prism mainly helps to design the loosely coupled components which can be easily integrated with the other components of the overall application. Prism mainly used to build the composite applications which need various other components to be integrated.

Prism mainly guides of creating the applications using the Model-View-ViewModel (MVVM) model, Managed Extensibility Framework (MEF), and navigation in the application.

To use the Prism framework, we need to use their library called as Prism Library. So prism Library is the inbuilt set of components which can be used in developing the WPF and Silverlight applications.

What is the difference between UserControl and CustomControl in WPF?


UserControl (Composition)
- Composes multiple existing controls into a reusable "group"
- Consists of a XAML and a code behind file
- Cannot be styled/templated
- Derives from UserControl

CustomControl (Extending an existing control)
- Extends an existing control with additional features
- Consists of a code file and a default style in Themes/Generic.xaml
- Can be styled/templated
- The best approach to build a control library

what is prism framework


Prism is the framework or the set of guidelines which is used to develop the WPF desktop application as well as the Silverlight Rich Internet applications. So it’s a kind of Design pattern to Develop the XMAL based application. It also used to develop the Windows 7 applications. Prism mainly helps to design the loosely coupled components which can be easily integrated with the other components of the overall application. Prism mainly used to build the composite applications which need various other components to be integrated.

Prism mainly guides of creating the applications using the Model-View-ViewModel (MVVM) model, Managed Extensibility Framework (MEF), and navigation in the application.

To use the Prism framework, we need to use their library called as Prism Library. So prism Library is the inbuilt set of components which can be used in developing the WPF and Silverlight applications.

What is XAML?


XAML is the language behind the visual presentation of an
application that you develop in Microsoft Expression Blend, just as HTML
is the language behind the visual presentation of a Web page.

Honeywell .net interview questions


1. Tell me about your experience ?
2. Can you explain your project and what's responsibility in your project ?
3. What is the principle in OOPS Concept ?
4. Can you explain OOPS Concept ?
5. What is Polymorphism , can you explain it ?
6. Tell me how to implement polymorphism in your project ?
7. What is Dynamic Polymorphism ?
8. What is Interface ?
9. What is difference Interface and Abstract function ?
10. In Sql Sever , what is the difference between standard editions and enterprise edition ?
 
11. What are the difficulties in Sql Server 2005 ?
12. What is the difference between sql server 2005 and sql server 2008 ?
13. What are the bindings in WPF?
14.What are layout panel in WPF ?
15. What is the difference between clustered index and non clustered index?
16. What is Self Join ?
17. What is the difference between data access layer and business logic layer ?

Similar Tags