Chapter 16 Flashcards

1
Q

What typeof do

A

Type casting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is dependency property

A

A list/table where we register values (type, class, name, metadata) and later on use it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is property wrapper

A

It allows to use dependency property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is change notification

A

Its an important feature of dependency property that deals with change of property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can we use trigger in XAML

A

yes with trigger tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is property value inheritance

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are productive members in a class

A

They help to traverse its visual tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are multiple providers

A

In c#, there could be multiple providers of dependency property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the highest priority in multiple providers

A

Local value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the lowest priority in multiple providers

A

Default value/initial value registered with the property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What clear value function do

A

It clear the value of the property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is data binding

A

To link element data to external source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What ‘set current value’ register do

A

It changes current value but do not change source of value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are attached properties

A

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”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly