Answer the following statements true (T) or false (F)

1. A MouseEventArgs object’s GetPosition event always returns a position relative to the top left of the WPF window.
2. A routed event is ignored after its Handled property is set to True.
3. A bubbling event travels down the container hierarchy, and a tunneling event travels up the container hierarchy.
4. The CanExecute event for a command allows you to implement logic that determines whether a command should be enabled or disabled.
5. WPF styles require you to explicitly set the individual properties of each control.


1. False. The position is relative to the top left of the control which raises the event.
2. True.
3. False. The opposite is true -- a bubbling event travels up the hierarchy, and a tunneling event travels down the hierarchy
4. True.
5. False. Styles allow you to apply one style definition to several controls, even controls of different types.

Computer Science & Information Technology

You might also like to view...

What type of loop always performs the loop statements at least once?

What will be an ideal response?

Computer Science & Information Technology

Setting a tab is an easy way to align text in columns. Please define each of these types of tab stops: left tab stop, right tab stop, center tab stop, decimal tab stop, and a bar tab stop.

What will be an ideal response?

Computer Science & Information Technology

A meeting organizer schedules a meeting by creating a meeting ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Select the performance technology that uses the capabilities of an RDMA capable network adapter and was designed specifically for the SMB protocol.

A. SMB Direct B. SMB Multichannel C. SMB Select D. RDMA Direct

Computer Science & Information Technology