jpg" Stretch="None" />
Setting One
Setting Two
Setting Three
Figure 5-9 shows the somewhat garish result.
Figure 5-9. An exotic tab title
The Expander
The most exotic headered content control is the Expander. It wraps a region of content that
the user can show or hide by clicking a small arrow button. This technique is used frequently
in online help and on web pages to allow them to include large amounts of content without
overwhelming users with information they don??™t want to see.
CHAPTER 5 n CONTENT 131
Figure 5-10 shows two views of a window with three expanders. In the version on the left,
all three expanders are collapsed. In the version on the right, all the regions are expanded.
(Of course, users are free to expand or collapse any combination of expanders individually.)
Figure 5-10. Hiding content with expandable regions
Using an Expander is extremely simple??”you simply need to wrap the content you want
to make collapsible inside. Ordinarily, each Expander begins collapsed, but you can change
this in your markup (or in your code) by setting the IsExpanded property.
Pages:
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274