WPF INTERVIEW QUESTION & ANSWERS
31. |
What is a repository? |
|
A repository is a type of class that hides the actual data storage mechanism
from the rest of the application. |
32. |
What are the types of common file dialogs that WPF supports? |
|
The common file dialogs that WPF supports include SaveFileDialog, OpenFileDialog, and PrintDialog. WPF does not presently have a common dialog for folder selection, font selection, or print preview. |
33. |
What is the name of the FrameworkElement most commonly used to work with media in WPF? |
|
MediaElement is used to play back a variety of audio and video formats. |
34. |
What are two common properties on all the Shape classes? |
|
There are more than a dozen properties on the base class System.Windows.Shapes.Shape. - Fill
- Stroke
- StrokeDashArray
- StrokeDashCap
- StrokeEndLineCap
- StrokeLineJoin
- StrokeMiterLimit
- StrokeStartLineCap
- StrokeThickness
|
35. |
What are the different types of brushes that WPF offers? |
|
There are six different types of brushes - SolidColorBrush
- LinearGradientBrush
- RadialGradientBrush
- DrawingBrush
- VisualBrush
- ImageBrush
|