IU de style Microsoft Windows* 8

[Windows 8|XAML] XAML元件屬性重複使用-資源(Resources)與樣式(Style)介紹

前言


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

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

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

資源(Resources)


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

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

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

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

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

  • Développeurs
  • Étudiants
  • Microsoft Windows* 8.x
  • Windows*
  • .NET*
  • C#
  • Débutant
  • XAML
  • Microsoft Windows 8
  • IU de style Microsoft Windows* 8
  • [Windows 8 | XAML]在XAML上製作簡單動畫效果-Stoyboard

    前言


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

    Storyboard是什麼呢?

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

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

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

  • Développeurs
  • Étudiants
  • Microsoft Windows* 8.x
  • Windows*
  • .NET*
  • C#
  • Débutant
  • XAML
  • Microsoft Windows 8
  • IU de style 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.

  • Développeurs
  • Android*
  • Microsoft Windows* 8.x
  • Android*
  • Windows*
  • Éducation
  • Graphiques
  • Processeurs Intel® Atom™
  • Processeurs Intel® Core™
  • IU de style Microsoft Windows* 8
  • Capteurs
  • Interfaces tactiles
  • Expérience et conception utilisateur
  • 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.
  • Développeurs
  • Android*
  • Microsoft Windows* 8.x
  • Tizen*
  • HTML5
  • HTML5
  • Avancé
  • Intel® XDK
  • IU de style 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.

  • Développeurs
  • Microsoft Windows* 8.x
  • Expérience utilisateur
  • Windows*
  • JavaScript*
  • Éducation
  • IU de style Microsoft Windows* 8
  • Interfaces tactiles
  • Expérience et conception utilisateur
  • Contrat de licence: 

    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.

  • Développeurs
  • Microsoft Windows* 8.x
  • Windows*
  • Débutant
  • Bay Trail
  • Intel Tablets
  • Bureau Microsoft Windows* 8
  • IU de style Microsoft Windows* 8
  • Developing Apps on DirectX* 11 and OpenGL* for Atom™ Processor Based Tablets

    One of the new features on the latest Intel® Atom™ Z3000 (codename Bay Trail) series platform is the integration of Intel® HD Graphics. This provides application developers a great opportunity on a mobile platform to build graphically rich and immersive games and powerful media applications. The platform takes advantage of the same graphics engine that is found on desktops and UltraBooks, with a reduced number of execution units suitable for a mobile platform. One key advantage of using Intel® HD Graphics on a mobile platform is architectural consistency.

    S’abonner à IU de style Microsoft Windows* 8