Interfaccia utente stile Microsoft Windows* 8

[Windows 8|XAML] 應用程式資源(Application Resources)使用與資源字典(ResourceDictionary)的介紹

前言


前篇中,向各位介紹了如何把XAML元件的屬性做一個重複使用的方式,好處是:

讓你的XAML頁面整齊,捨去重複的程式碼,同時若你要重修調整或修改維護你的XAML程式時,也可以加快你的修改速度(因為你不再需要一個一個去修改)。

而在前篇中我們提到了資源有分兩種:

直接資源(頁面資源)與應用程式資源兩種,而在此篇中,除了再次提一下頁面資源,再來主要會介紹如何使用應用程式資源(Application Resources),與一個新的標籤ResourceDictionary。

直接資源與應用程式資源

  • Sviluppatori
  • Studenti
  • Microsoft Windows* 8.x
  • Windows*
  • .NET*
  • C#
  • Principiante
  • Microsoft Windows 8
  • XAML
  • Interfaccia utente stile Microsoft Windows* 8
  • [Windows 8|XAML] XAML元件屬性重複使用-資源(Resources)與樣式(Style)介紹

    前言


    在學習開發XAML時,有時候畫面上某些元件可能會需要設定一樣的屬性(如:我有三個TextBlock都需要設定為顯示紅色字體,文字大小要32),但是一個一個設定不僅浪費時間,如果要做修改時,也要對每一個元件都重複做同樣的修改,耗時也費力。

    而在XAML有一個資源的概念,可以把類似的這樣的元件屬性、樣式做一個事先的定義,然後再去對元件做指定套用。

    在此篇主要會以在頁面資源(FrameworkElement.Resources)使用為主

    資源(Resources)


    如前言所述,有時候我們會遇到這樣的需求,這個時候資源的概念便派上用場了!

    透過資源,我們可以事先透過定義好要套用到元件上的屬性,並且這總地億的資源可以重複使用!

    資源是一種共享、反覆利用元素、屬性的機制。

    可以用來定義的資源包含:

    樣式(Style)與範本(Template)、筆刷(Brush)、故事版腳本(Storyboard)...等等,這些都各式是資源的一種

  • Sviluppatori
  • Studenti
  • Microsoft Windows* 8.x
  • Windows*
  • .NET*
  • C#
  • Principiante
  • XAML
  • Microsoft Windows 8
  • Interfaccia utente stile Microsoft Windows* 8
  • [Windows 8 | XAML]在XAML上製作簡單動畫效果-Stoyboard

    前言


    有時候我們開發應用程式時會需要用到一些小動畫來做使用者點擊或觸發某些事情時的回饋,例如:使用者點及按鈕後,某個方塊會自動做變大的動畫,在這邊如果你是開發有XAML的專案,有一個很方便的元件可以使用-Storyboard。

    Storyboard是什麼呢?

    他是一個可以透過設定時刻表用來控制元件隨著時間做變化的腳本元件。

    接下來讓我們介紹一下如何實作出Storyboard

    在這邊我們要做的範例是點選Button後會使一個紅色Rectangle的消失

  • Sviluppatori
  • Studenti
  • Microsoft Windows* 8.x
  • Windows*
  • .NET*
  • C#
  • Principiante
  • XAML
  • Microsoft Windows 8
  • Interfaccia utente stile Microsoft Windows* 8
  • Case Study: Escapist Games works to improve Star Chart’s user experience on Intel® platforms with Windows* 8 and Android*

    By Chris Walley, Director, Escapist Games Ltd.

    Escapist Games Limited recently collaborated with Intel to enhance their popular Star Chart application to take advantage of the latest Intel® chipsets and devices. This included tailoring Star Chart for the 3rd generation Intel® Core™ processor on Ultrabook™ devices and the Intel® Atom™ processor on tablet devices. During development, Escapist Games was able to give valuable feedback to Intel on the efficacy of the sensors and hardware in a real-world software use scenario.

  • Sviluppatori
  • Android*
  • Microsoft Windows* 8.x
  • Android*
  • Windows*
  • Istruzione
  • Grafica
  • Processori Intel® Atom™
  • Processori Intel® Core™
  • Interfaccia utente stile Microsoft Windows* 8
  • Sensori
  • Interfacce touchscreen
  • Esperienza utente e progettazione
  • Porting Counting Beads Web App to Android* using PhoneGap* compatible API and Windows 8* Store App

    Counting Beads app is originally a web HTML5 app and downloadable from Tizen* developers site. The final version can be downloaded from github sample-counting-beads, or register the Intel® XDK to check out all the HTML5 samples.
  • Sviluppatori
  • Android*
  • Microsoft Windows* 8.x
  • Tizen*
  • HTML5
  • HTML5
  • Avanzato
  • Intel® XDK
  • Interfaccia utente stile Microsoft Windows* 8
  • Educational Sample Code for Windows* 8

    Download


    Download Sample Code [ZIP 379KB]

    Abstract


    This document is intended to provide developers with an accelerated path in the development of prototype applications. The product concepts and visual designs should also provide inspiration for ideas for similar applications.

    The accompanying sample code focuses on demonstrating the following Windows* 8 features within an education application.

  • Sviluppatori
  • Microsoft Windows* 8.x
  • Esperienza utente
  • Windows*
  • JavaScript*
  • Istruzione
  • Interfaccia utente stile Microsoft Windows* 8
  • Interfacce touchscreen
  • Esperienza utente e progettazione
  • Contratto di licenza: 

    Paixão de torcedor se transforma no APP BRASILEIRÃO 2013! Conheça mais sobre esse aplicativo inovador otimizado para tecnologias Intel.

    Existe um consenso geral que todo brasileiro é apaixonado por futebol e que a torcida é a grande responsável pelo sucesso de seu time.
    Foi pensando nisso que a Petrobrás saiu na frente e lançou um aplicativo focado no Campeonato Brasileiro 2013 que utiliza os recursos mais modernos da plataforma Windows 8.

    4th Generation Intel® Atom™ Processor-Based Tablet Overview

    Introducing the next generation Intel® Atom™ Processor (Code named “Bay Trail”)

    Abstract


     

    Intel has launched its latest Intel® Atom™ processor, code named “Bay Trail”. It is the first Intel Atom processor based on 22-nm technology. This article discusses the key features of the platform like extended battery life, Intel® Gen7 graphics architecture, advanced imaging and video, improved performance, security, and more.

  • Sviluppatori
  • Microsoft Windows* 8.x
  • Windows*
  • Principiante
  • Bay Trail
  • Intel Tablets
  • Desktop Microsoft Windows* 8
  • Interfaccia utente stile Microsoft Windows* 8
  • Iscriversi a Interfaccia utente stile Microsoft Windows* 8