WPF INTERVIEW QUESTION & ANSWERS
11. |
What is the purpose of the x:Name attribute in XAML? |
|
The x:Name attribute allows you to uniquely identify an instance of an object defined in XAML. The value of the x:Name attribute can be referenced in the associated C# or VB code. |
12. |
What is a feature of XAML that is available when it is compiled rather than
interpreted? |
|
When your XAML is compiled, you can embed procedural code such as C# or VB. For more information about this, look up the markup extension x:Code. |
13. |
What is an attached property? |
|
An attached property is a property that is declared by one control and attached to another. It allows the inclusion of additional information with a control for later use by an external source. |
14. |
What kind of documents are supported in WPF? |
|
There are two kind of major document supported in - WPF Fixed format documents
- Flow format document.
|
15. |
What is the difference between fixed format documents and flow format documents? |
|
Fixed format documents look like PDF format. They display content regardless
of screen size and resolution. But Flow format document adjust depending on screen size and
resolution. |