In general, the VisualStyle can be applied dynamically to the application. While changing the VisualStyle value, you can perform other operations. The following code example demonstrates how to change the Border background based on the value of SkinStorage.VisualStyle. In the example, the ComboBox is populated with the visual style values like Metro, Office2010Blue, and Office2010Silver. When you choose a style from the ComboBox, the border background is changed based on the selected style.
The following screenshots are the output of the code above:
Figure 1: Metro Visual Style
Figure 2: Office2010Blue Visual Style
Figure 3: Office2010Silver Visual Style
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|