Chapter 15 Flashcards
Can we write procedural code inside XAML file
Yes
e.g.
<code></code>
</code>
What is CDATA in XAML code
It tells that the code inside CDATA will not follow normal XAML rules.
How we can save XAML save
XAML writer
Can we create objects through non default constructors
Yes
What x:AsyncRecords do
Controls the size of asynchronous XAML-loading chunks
What x:Class do
Creates Class
What x:ClassModifier do
Set the visibility of class, which is by default private.
What x:ConnectionId do
It is not for public use. It is for internal implementation.
What x:FieldModifier do
It checks field visibility.
What x:Key do
It add elements in dictionary.
What x:name do
It uses for naming elements.
What x:shared = false do
It means same resource instance not to be shared
What x:SubClass do
It uses only when partial class is not supported. It works like partial class do
What x:Synchoronous mode do
It load xaml in sync mode
What x:TypeArguments do
Use only with root with x:Class
What x:Uid do
Represents system URI. It used for internationalization and localization
What x:XData do
It uses on such data on which XML rules does not apply
What x:array do
It defines type of array
What x:NULL do
it is mark up extension that returns NULL
What x:reference do
It gets reference of named element
What x:static do
It set static property of any field
What x:Type do
It is just like type of operator
Is it true whatever we do in XAML can also be done in C#
Yes
What is WPF
Windows Presentation Foundation (WPF) is a next-generation presentation system for building Windows client applications with visually stunning user experiences.