40 likes | 117 Views
Pytania na egzamin #2. Kontrolki użytkownika. 1. You are designing a control that retrieves current stock prices and d isplays them in a ListBox object that is updated regularly. Which of the following is the best strategy for creating your custom element?.
E N D
Pytania na egzamin #2 Kontrolki użytkownika
1. You are designing a control that retrieves current stock prices and displaysthem in aListBoxobject that is updated regularly. Which of thefollowing is the best strategy forcreatingyourcustom element? • B.Use a preexisting WPF element with acustom template. • C.Createa usercontrol. • D.Createa customcontrol.
2. You are designing a control that downloads stock market quotes and displays them ina rolling stock-ticker format that moves constantly across the top of the window. Whichof the following isthe best strategy for creating your custom element? • B.Use a preexisting WPF element with a custom template. • C.Createa usercontrol. • D.Createa customcontrol.
3. Which of the following is required to implement theme-specific templates for a customcontrol? • A.Create separate templates for each theme. • B.Create separate folders for each theme. • C.Set ThemeInfoAttribute. • D.Provide a generic template for themes that are not supported.