Chapter 16 Flashcards
What typeof do
Type casting
What is dependency property
A list/table where we register values (type, class, name, metadata) and later on use it
What is property wrapper
It allows to use dependency property
What is change notification
Its an important feature of dependency property that deals with change of property
Can we use trigger in XAML
yes with trigger tag
What is property value inheritance
Property value inheritance is a feature of the Windows Presentation Foundation (WPF) property system. Property value inheritance enables child elements in a tree of elements to obtain the value of a particular property from parent elements, inheriting that value as it was set anywhere in the nearest parent
What are productive members in a class
They help to traverse its visual tree.
What are multiple providers
In c#, there could be multiple providers of dependency property
What is the highest priority in multiple providers
Local value
What is the lowest priority in multiple providers
Default value/initial value registered with the property
What clear value function do
It clear the value of the property
What is data binding
To link element data to external source
What ‘set current value’ register do
It changes current value but do not change source of value.
What are attached properties
In Windows Presentation Foundation (WPF), attached properties are typically defined as a specialized form of dependency property that does not have the conventional property “wrapper”