12 2012 档案
Windows 8 Add a language pack
摘要:To add a language pack in Windows 8, After Installed Windows 8, I have the installation files in my DVD Drive. The language packs are in G:\Deploy\Packages\LanguagePack folder, therefore I can add the language using command tool lpksetup.exe.see what I did:First, run command prompt as Administrator.
阅读全文
关于Windows Store App中的Globalization
摘要:前言: Gloablization, 全球化,本地化首先要在项目中创建strings 文件夹,然后在strings下边创建每一种语言代码的文件夹, 如en-us代表英语, zh-cn代表中文。其次向每一个文件夹下添加Resources.resw文件。在每一种语言的Resources.resw中添加要本地化的控件的名称和相关语言中的翻译。编写代码, 首先获取想要的语言, 根据语言来决定为PrimaryLanguageOverride赋值。 string language = string.Empty; string region = Windows.S...
阅读全文
Windows Store App窗口大小改动的事件
摘要:前言: Windows Store App, ApplicationViewState前几天一直纠结的一件事情就是我如何能够自己编程控制控件在不同ViewState中的设置, 搜寻网络发现这个触发器是Window.Current.SizeChanged。ApplicationViewState是一个枚举值, 有如下4个值:Windows.UI.ViewManagement.ApplicationViewState.FullScreenPortraitWindows.UI.ViewManagement.ApplicationViewState.SnappedWindows.UI.ViewMana
阅读全文
动态更新App Button的Style
摘要:在Windows 8 App中, App Button 的Style都是存储在资源文件中的, 系统自带的资源文件在Common folder下的StandardStyle.Xaml . 里边定义的Style是以健(Key)的形式表示和定义的。当我们在程序中动态改变一个App Button的Style是, 可以这么写: btPicture.Style = (Style)Application.Current.Resources["PicturesAppBarButtonStyle"];还有, 当你自定义一个Style时, 它所BasedOn的Style一定要写在其定义行之前.
阅读全文
App button alignment in BottomAppBar
摘要:Expected BottomeAppBar Style:For a long time, I have problem with the button alignment in bottomAppBar. If we have more than one buttons, I knew we need to add them to a stackpanel, and there only could be one stackpanel be added directly under <AppBar></AppBar>. Therefore if I want to l
阅读全文
QpuzzleTouch Privacy Clarification
摘要:English1. Internet connection.This app will not request to connect to internet in any cases. You can use this app offline.2. Personal data.This app will not retrieve any information from your personal computer, We asure you that your data and information are safe in using this app.3. About localizat
阅读全文
posted @ 2012-12-16 18:48
零点零一
Win 8 app 获取窗口的宽度和高度, 本地化, 及文本读取
摘要:在Windows 8的程序中:1. 获取用户窗口的宽高; double height = Windows.UI.Xaml.Window.Current.Bounds.Height; double width = Window.Current.Bounds.Width;2. 获取用户的语言设置; this._cultureInfo = System.Globalization.CultureInfo .CurrentUICulture .Name .ToString ();注释: 我现在还不清楚这个CurrentUICulture是怎么...
阅读全文
GridView.ScrollIntoView() doesn't work
摘要:I am writing an application which contains two pages, GroupedItemsPage and ItemDetailPage. I let lots of pictures present in the GroupItemsPage, then after select a specified picture in this page, it will nevigate the the second page withe the details showing for the selected picture. Since I put to
阅读全文
浙公网安备 33010602011771号