3.26 quest Flashcards

1
Q

XAML is a language that uses XML syntax and enables controls to be added to a user interface in a declarative, hierarchical way

A

T

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

XAML is designed with todays powerful graphics cards in mind

A

T

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

XAML controls are added to the user interface in a linear, non-declarative organization.

A

F

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

One of XAML’s shortfalls is its inability to render 3D graphics.

A

F

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

XAML is a language that uses XML syntax and enables controls to be added to a user interface in a declarative, hierarchical way.

A

T

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

Name two key capabilities of XAML

A

2D and 3D capabilities for advanced rendering & Advanced font processing and rendering

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

What is at the heart of the development of most graphical Windows applications?

A

Window Designer

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

By default, the Visual Studio designer includes two namespaces

A

T

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

Code-behind files are C# files that are dynamically linked to the XAML files.

A

T

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

When creating a new window in Visual Studio, the presentation namespace is always declared as the default and the language namespace as xmlns:x.

A

T

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

As a direct result of adding the namespace, every tag that follows (i.e. , , etc.) must be prefixed with the “parent” namespace.

A

??

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

What is the favored tool used by designers when creating GUIs for WPF?

A

Expression Blend

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

What is code-behind files?

A

C# files that are dynamically linked to the XAML files

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

XAML and C# are two programming languages that work well together, in order to create strong desktop programs.

A

T

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

WYSIWYG stands for What You Should Ignore While YOLO’ing Grandmas.

A

F

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

The upper section, known as the ______ view displays a What you see is what you get representation

A

Design View

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

Out of the box controls look exactly as you would expect a control to look in a standard Windows application

A

T

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

Many of the properties of WPF do more than just get and set a value; for one, they are able to notify observers of changes.

A

T

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

Where does Visual Studio put the code-behind files?

A

the same directory as the XAML fi les

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

All controls have a number of _______ that are used to manipulate the behavior of the control

A

properties

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

A dependency property is a property that is registered with the WPF property system in such a way as to allow extended functionality.

A

T

22
Q

Routed events are usually associated with user actions.

A

T

23
Q

An attached property is a property that is made available to each child object of an instance of the class that defines the property

A

T

24
Q

Routed events are usually associated with non-user actions

A

F

25
Q

What is coercion?

A

You can confi gure sets of related properties so that they all update in response to a change to one of them

26
Q

An _________ property is that is made available to each child object of an instance of the class that defines the property.

A

attached

27
Q

What is a property that is registered with the WPF property system in such a way as to allow extended functionality?

A

Dependency

28
Q

You can configure sets of related properties so that they all update in response to a change to one of them. What is this called?

A

Coercion

29
Q

What is a property that is made available to each child object of an instance of the class that defines the property?

A

Attached property

30
Q

What is an attached property?

A

a property that is made available to each child object of an instance of the class that defines the property.

31
Q

There is only one way to add a hander for an event.

A

F

32
Q

The MouseDown occurs when a key is released while a control has focus.

A

F

33
Q

Some common control events include Click, KeyDown, GotFocus, LostFocus, and MouseDoubleClick.

A

F

34
Q

How many basic ways are there to add a handler for an event?

A

2

35
Q

How do you add a hander for a particular event?

A

use the Events list in the Properties window

36
Q

A routed event can travel up and down the hierarchy of the control on which the event occurred.

A

T

37
Q

Routed commands serve much the same purpose as events in that they cause some code to execute.

A

T

38
Q

Routed events are different in that they can send the event to all controls in the hierarchy in which the control participates.

A

T

39
Q

A routed command is much like an event except it allows code that will be executed to respond to actions that happen in many locations.

A

T

40
Q

What is a routed event?

A

Routed events are different in that they can send the event to all controls in the hierarchy in which the control participates.

41
Q

A command is much more complicated to implement than an event.

A

T

42
Q

What is an example of a type of control that doesn’t allow you to use other controls as their content?

A

Content

43
Q

All WPF controls derive from ______.

A

Panel class

44
Q

What abstract class do all content layout controls derive from?

A

Panel class

45
Q

The canvas control provides complete freedom over control positioning.

A

T

46
Q

What does Padding refer to?

A

spaces out the content of a control from its edges.

47
Q

What does Margin refer to?

A

position controls relative to the edges of a window

48
Q

What is the Visual Studio DockPanel?

A

Enables you to dock controls to one of its edges.

49
Q

The direction in which controls are stacked on a stack panel is determined by three properties: orientation, horizontal, and vertical.

A

F

50
Q

You can also define rows and columns in the grid by clicking the edges of the grid in the Design View.

A

F

51
Q

If you decide that you want to display text using a textbox, be sure to set its IsEnabled property to true to prevent users from being able to edit it.

A

F

52
Q

Data binding is a way of declaratively connecting controls with data.

A

T