40 likes | 132 Views
Learn strategies for creating custom elements to display stock prices and market quotes efficiently. Explore WPF elements, user controls, and custom controls. Understand implementing theme-specific templates.
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.