O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Styles and Templates

The capability to customize the look of a control in WPF, without losing any of its built-in functionality, is one of the huge advantages that WPF brings to the development scene. Consider the two slider controls in Figure 21.16. The top is the default style, and the bottom represents a restyled slider. Functionality is identical. We have simply changed the appearance of the control.

Image

FIGURE 21.16 The standard slider (top) and a restyled slider (bottom).

Style is an actual class (in the System.Windows namespace) that is used in association with a control; it groups property values together to enable you, as a developer, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required