23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note Though not shown here, you can also use the -ms-scrollbar-* styles for scrollbars that appear<br />

on pannable content in your app.<br />

Styling Gallery: WinJS Controls<br />

Similarly, here is a visual rundown of styling for WinJS controls, drawing again from the samples in the<br />

SDK: <strong>HTML</strong> DatePicker and TimePicker controls, <strong>HTML</strong> Rating control, <strong>HTML</strong> ToggleSwitch control, and<br />

<strong>HTML</strong> Tooltip control.<br />

For the WinJS DatePicker and TimePicker, refer to styling for the <strong>HTML</strong> select element along with<br />

the ::-ms-value and ::-ms-expand pseudo-elements. I will note that the sample isn’t totally<br />

comprehensive, so the visuals below highlight the finer points:<br />

155

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!