Pytania na egzamin #2
1. You are designing a control that retrieves current stock prices and displays them in a ListBox object that is updated regularly. Which of the following is the best strategy for creating your custom element? B. Use a preexisting WPF element with a custom template. C. Create a user control. D. Create a custom control.
2. You are designing a control that downloads stock market quotes and displays them in a rolling stock-ticker format that moves constantly across the top of the window. Which of the following is the best strategy for creating your custom element? B. Use a preexisting WPF element with a custom template. C. Create a user control. D. Create a custom control.
3. Which of the following is required to implement theme-specific templates for a custom control? 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.