WPF INTERVIEW QUESTION & ANSWERS
16. |
What is the difference between a Panel and a Decorator? |
|
A Panel has a collection of Children that it arranges according to various
rules, based on the type of panel. A Decorator, on the other hand, has only one Child to which it applies some additional set of behavior. |
17. |
What is the feature of silverlight 4? |
|
Silverlight 4 is the current version at the time of writing and it introduced a number of new features, including : - Support for Google’s Chrome web browser
- Access to the user’s web cam and microphone
- Mousewheel input
- Enhancements to existing controls, such as the DataGrid
- New controls, such as the RichTextBox
- Enhanced data binding support
- Managed Extensibility Framework support
- WCF RIA services
|
18. |
What is the purpose of AccessText? |
|
AccessText enables you to specify displayed text with an embedded keyboard
shortcut used to access the corresponding control. Simply precede the desired letter of the text with an underscore. |
19. |
What are the types of Inlines that can be used in a TextBlock? |
|
- Span
- Bold
- Italic
- Underline
- Hyperlink
- Run
- LineBreak
- InlineUIContainer
- Figure
- Floater
|
20. |
What is the most common format for declaring a data binding in markup? |
|
Markup extensions are the most common means of declaring a data binding.
They are identified by the use of curly brackets ({}).The less common format is XAML. |