What two controls are needed when creating a toolbar ?

  1. Only Toolbar control

  2. ImageList and Toolbar control

  3. Both 1 and 2

  4. All the above


Correct Option: B
Explanation:

To create a toolbar, two controls are needed: an ImageList control and a Toolbar control.

Option A is incorrect because only a Toolbar control is not sufficient to create a toolbar.

Option B is correct because it accurately identifies the two controls needed to create a toolbar. An ImageList control is used to store the images that will be displayed on the toolbar buttons. A Toolbar control is used to create the actual toolbar, and it references the images in the ImageList control for the button icons.

Option C is incorrect because it is not a valid option.

Option D is incorrect because it includes option A which is incorrect.

Therefore, the correct answer is: B. ImageList and Toolbar control.

Find more quizzes: