Chapter 31 Flashcards

1
Q

What are 2 method to show hierarchical data using hierarchical data template

A
  1. Tree view

2. Menu

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

What is provided by XMLdataprovider

A

It provides us some facility which are useful for binding objects which are not designed for binding.

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

What are 4 binding modes

A
  1. OneWay
  2. TwoWay
  3. OneWayToSource
  4. OneTime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is OneWay binding

A

Pick data from source and display on target. If source changes the display data changes.

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

What is TwoWay binding

A

Pick data from source and display to target. If we make changes in data on target, it also reflect on original source.

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

What is OneWayToSource binding

A

It is opposite to OneWay. If we type on target it goes on source.

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

What is OneTime binding

A

We do binding and the data in source get display on target. But after that it is not bound. If there is changes in source it is not reflected on target.

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

What is convert back function

A

When we do binding and take data from target to source

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

What is convert function

A

When we do binding and take data from source to target

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

What event attached on binding by default

A

By default on LostFocus, but there are also other options, like

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

What is validation in binding

A

These are simple classes that has validate method.

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

What are 2 methods for validation in binding

A

It has

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

What is data context

A

We tell source once and bind elements to it

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