일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- ASP.NET
- The Frames
- wp7
- 영화
- 광야에서
- 퍼스
- 안치환공연
- 전라도여행
- 닷넷DB연동
- 닷넷공부법
- 안치환
- 여행
- 유용주
- U2
- 윈폰7
- 닷넷게시판만들기
- 백스트리트보이스
- 서호주여행
- live8
- 게시판페이징
- 웹프로그래밍
- 안치환콘서트
- 닷넷게시판리스트
- 가족영화
- 서호주
- Perth
- asp
- 김광석
- BSB
- swell season
- Today
- Total
새로운 시작, GuyV's lIfe sTyle.
Theme Resources for Windows Phone 본문
http://msdn.microsoft.com/en-us/library/ff769552(v=vs.92).aspx
Brush Resources
This table lists and describes the various brushes that can be applied.
Name |
Type |
Description |
---|---|---|
PhoneAccentBrush |
SolidColorBrush |
Foreground color to single-out items of interest |
PhoneForegroundBrush |
SolidColorBrush |
Default foreground and border color |
PhoneBackgroundBrush |
SolidColorBrush |
Default background for pages and other controls |
PhoneContrastBackgroundBrush |
SolidColorBrush |
Background for contrasting elements |
PhoneContrastForegroundBrush |
SolidColorBrush |
Foreground for contrasting elements |
PhoneDisabledBrush |
SolidColorBrush |
Disabled foreground and color |
PhoneSubtleBrush |
SolidColorBrush |
Subtle foreground and border |
PhoneBorderBrush |
SolidColorBrush |
Border and background of the TextBox, CheckBox, PasswordBox, and RadioButton controls |
TransparentBrush |
SolidColorBrush |
100% transparent brush used for background and touch targets |
PhoneSemitransparentBrush |
SolidColorBrush |
Partially transparent background brush used to provide contrast against image backgrounds |
PhoneChromeBrush |
SolidColorBrush |
Used to match the application bar color |
TextBox Brushes
Name |
Type |
Description |
---|---|---|
PhoneTextBoxBrush |
SolidColorBrush |
Brush for the TextBox control |
PhoneTextCaretBrush |
SolidColorBrush |
Brush for the caret in the TextBox |
PhoneTextBoxForegroundBrush |
SolidColorBrush |
Brush for the TextBox control foreground |
PhoneTextBoxEditBackgroundBrush |
SolidColorBrush |
Brush for the TextBox control edit background |
PhoneTextBoxEditBorderBrush |
SolidColorBrush |
Brush for the TextBox control edit border |
PhoneTextBoxReadOnlyBrush |
SolidColorBrush |
Brush for the TextBox control read-only state. |
PhoneTextBoxSelectionForegroundBrush |
SolidColorBrush |
Brush for the TextBox control selection foreground |
RadioButton and CheckBox Brushes
Name |
Type |
Description |
---|---|---|
PhoneRadioCheckBoxBrush |
SolidColorBrush |
Brush for the RadioButton and CheckBox |
PhoneRadioCheckBoxDisabledBrush |
SolidColorBrush |
Brush for disabled RadioButton and CheckBox state |
PhoneRadioCheckBoxCheckBrush |
SolidColorBrush |
Brush for the CheckBox check |
PhoneRadioCheckBoxCheckDisabledBrush |
SolidColorBrush |
Brush for the disabled CheckBox check |
PhoneRadioCheckBoxPressedBrush |
SolidColorBrush |
Brush for the RadioButton and CheckBox pressed state |
PhoneRadioCheckBoxPressedBorderBrush |
SolidColorBrush |
Brush for the RadioButton and CheckBox pressed state |
Color Resources
This table lists and describes the various colors that can be applied through the brush resources.
Note: |
---|
You should try to use the brush resources instead of using or modifying colors directly. The reason is you can modify brush values but not colors in your application. |
Name |
Type |
Description |
---|---|---|
PhoneBackgroundColor |
Color |
Default background for pages and other controls |
PhoneForegroundColor |
Color |
Default foreground and border color |
PhoneDisabledColor |
Color |
Disabled foreground and color |
PhoneSubtleColor |
Color |
Subtle foreground and border |
PhoneAccentColor |
Color |
Foreground color to single-out items of interest |
PhoneContrastBackgroundColor |
Color |
Background for contrasting elements |
PhoneContrastForegroundColor |
Color |
Foreground for contrasting elements |
PhoneBorderColor |
Color |
Color used for the border and background of the TextBox, CheckBox, PasswordBox, and RadioButton controls |
PhoneChromeColor |
Color |
Color of the status bar and application bar |
PhoneSemitransparentColor |
Color |
Partially transparent color used to provide contrast against image backgrounds |
TextBox Colors
Name |
Type |
Description |
---|---|---|
PhoneTextBoxColor |
Color |
Color for the TextBox control |
PhoneTextCaretColor |
Color |
Color for the caret in the TextBox |
PhoneTextBoxForegroundColor |
Color |
Color for the TextBox control foreground |
PhoneTextBoxEditBackgroundColor |
Color |
Color for the TextBox control edit background |
PhoneTextBoxEditBorderColor |
Color |
Color for the TextBox control edit border |
PhoneTextBoxReadOnlyColor |
Color |
Color for the TextBox control read-only state. |
PhoneTextBoxSelectionForegroundColor |
Color |
Color for the TextBox control selection foreground |
RadioButton and CheckBox Colors
Name |
Type |
Description |
---|---|---|
PhoneRadioCheckBoxColor |
Color |
Color for the RadioButton and CheckBox |
PhoneRadioCheckBoxDisabledColor |
Color |
Color for disabled RadioButton and CheckBox state |
PhoneRadioCheckBoxCheckColor |
Color |
Color for the CheckBox check |
PhoneRadioCheckBoxCheckDisabledColor |
Color |
Color for the disabled CheckBox check |
PhoneRadioCheckBoxPressedColor |
Color |
Color for the RadioButton and CheckBox pressed state |
PhoneRadioCheckBoxPressedBorderColor |
Color |
Color for the RadioButton and CheckBox pressed state |
Font Names
This table lists and describes the various font names that can be applied. Attribute = FontFamily
Name |
Type |
Value |
---|---|---|
PhoneFontFamilyNormal |
Font Family |
Segoe UI |
PhoneFontFamilyLight |
Font Family |
Segoe UI Light |
PhoneFontFamilySemiLight |
Font Family |
Segoe UI Semilight |
PhoneFontFamilySemiBold |
Font Family |
Segoe UI Semibold |
Thickness
This table lists and describes the thickness that can be applied to UI elements. Attribute = BorderThickness, Margin, Padding
Name |
Type |
Value |
---|---|---|
PhoneHorizontalMargin |
BorderThickness, Margin, Padding |
12, 0 |
PhoneVerticalMargin |
BorderThickness, Margin, Padding |
0, 12 |
PhoneMargin |
BorderThickness, Margin, Padding |
12 |
PhoneTouchTargetOverhang |
BorderThickness, Margin, Padding |
12 |
PhoneTouchTargetLargeOverhang |
BorderThickness, Margin, Padding |
12, 20 |
PhoneBorderThickness |
BorderThickness, Margin, Padding |
3 |
PhoneStrokeThickness |
BorderThickness, Margin, Padding |
3 |
Font Sizes
This table lists and describes the various font sizes that can be applied. Attribute = FontSizes
Name |
Type |
Description |
---|---|---|
PhoneFontSizeSmall |
Double |
14 pt |
PhoneFontSizeNormal |
Double |
15 pt |
PhoneFontSizeMedium |
Double |
17 pt |
PhoneFontSizeMediumLarge |
Double |
19 pt |
PhoneFontSizeLarge |
Double |
24 pt |
PhoneFontSizeExtraLarge |
Double |
32 pt |
PhoneFontSizeExtraExtraLarge |
Double |
54 pt |
PhoneFontSizeHuge |
Double |
140 pt |
Text Styles
The following table offers a selection of text styles that you can apply to a TextBlock control. Attribute = Style.
Name |
Applies to: |
Type |
Description |
---|---|---|---|
PhoneTextBlockBase |
TextBlock |
Style |
FontFamily: PhoneFontFamilyNormal FontSize: PhoneFontSizeSmall Foreground: PhoneTextBoxBrush Margin: PhoneHorizontalMargin |
PhoneTextNormalStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilyNormal FontSize: PhoneFontSizeNormal Foreground: PhoneForegroundBrush |
PhoneTextTitle1Style |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiLight FontSize: PhoneFontSizeExtraExtraLarge Foreground: PhoneForegroundBrush |
PhoneTextTitle2Style |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiLight FontSize: PhoneFontSizeLarge Foreground: PhoneForegroundBrush |
PhoneTextTitle3Style |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiLight FontSize: PhoneFontSizeMedium Foreground: PhoneForegroundBrush |
PhoneTextLargeStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiLight FontSize: PhoneFontSizeLarge Foreground: PhoneForegroundBrush |
PhoneTextExtraLargeStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiLight FontSize: PhoneFontSizeExtraLarge Foreground: PhoneForegroundBrush |
PhoneTextGroupHeaderStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiLight FontSize: PhoneFontSizeLarge Foreground: PhoneSubtleBrush |
PhoneTextSmallStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilyNormal FontSize: PhoneFontSizeSmall Foreground: PhoneSubtleBrush |
PhoneTextContrastStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiBold FontSize: PhoneFontSizeNormal Foreground: PhoneContrastForegroundBrush |
PhoneTextAccentStyle |
TextBlock |
Style |
FontFamily: PhoneFontFamilySemiBold FontSize: PhoneFontSizeNormal Foreground: PhoneAccentBrush |
Theme Visibility and Opacity
There are also resources available to adjust the visibility and opacity of the dark and light theme backgrounds:
Visibility
Name |
Type |
Description |
---|---|---|
PhoneDarkThemeVisibility |
Visibility |
Visibility in dark theme and collapsed in the light theme |
PhoneLightThemeVisibility |
Visibility |
Visibility in light theme and collapsed in the dark theme |
Opacity
Name |
Type |
Description |
---|---|---|
PhoneDarkThemeOpacity |
Double |
1 in the dark theme, 0 in the light theme |
PhoneLightThemeOpacity |
Double |
0 in the dark theme |
'ⓦindows Phone 7 > Development' 카테고리의 다른 글
WP7 망고(mango) SDK 베타 (0) | 2011.05.25 |
---|---|
윈폰7 트라이얼 앱 구현 및 예제 (0) | 2011.05.06 |
윈폰 7.0 웹 UserAgent 열거 (0) | 2011.03.11 |
윈폰7 GPS 에뮬레이터 예제 (0) | 2011.03.02 |
윈폰7 개발툴 wm_web.exe 호환성 오류 (0) | 2010.06.23 |