顯示具有 wpf 標籤的文章。 顯示所有文章
顯示具有 wpf 標籤的文章。 顯示所有文章

2008年12月30日 星期二

Microsoft Expression Blend 與 XML 的整合 | Anistar Blog

 

Expression Blend的Data面板中有個非常有趣的項目,就叫做+XML

Microsoft Expression Blend 與 XML 的整合 | Anistar Blog

Multiple MediaElements

<Canvas>
  <MediaElement x:Name="mediaElem1"
       Source="file:///c:/windows/media/tada.wav"
       LoadedBehavior="Manual" />
  <MediaElement x:Name="mediaElem2"
       Source="file:///c:/windows/media/Windows Logoff Sound.wav"
       LoadedBehavior="Manual" />
</Canvas>

IanG on Tap - entries for Friday 25 January, 2008

2008年12月21日 星期日

WPF FrameworkElement 成員 (System.Windows) 的方法、屬性、事件詳細資料

 

提供 WPF 架構層級屬性集、事件和 Windows Presentation Foundation (WPF) 項目的方法。這個類別 (Class) 代表所提供的 WPF 架構層級實作 (Implementation),建置在由 UIElement 所定義的 WPF 核心層級 API 之上。

FrameworkElement 成員 (System.Windows)

2008年12月6日 星期六

wpf程式設計--圖形List2

加上MouseOver透明度更改功能。

image

<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="550" Width="419">
     <Window.Resources>
        <Style TargetType="Image">
            <Setter Property="Width" Value="120" />
            <Setter Property="Margin" Value="5" />
            <Setter Property="Opacity" Value="0.2" />
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Trigger.Setters>
                        <Setter Property="Opacity" Value="1" />
                    </Trigger.Setters>
                </Trigger>
            </Style.Triggers>
        </Style>
        <Style TargetType="ListBox">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ListBox">
                        <Border BorderThickness="1" BorderBrush="Black">
                            <ScrollViewer>
                                <StackPanel IsItemsHost="True" Orientation="Vertical"/>
                            </ScrollViewer>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <StackPanel Margin="93,32,98,0" Height="441" VerticalAlignment="Top">
            <Label FontSize="30" HorizontalAlignment="Center">Image List</Label>
            <ListBox Width="155" HorizontalAlignment="Center" Height="385">
                <Image Source="Humpback Whale.jpg" />
                <Label FontSize="12" HorizontalAlignment="Center">Humpback Whale</Label>
                <Image Source="Oryx Antelope.jpg"  />
                <Label FontSize="12" HorizontalAlignment="Center">Oryx Antelope</Label>
                <Image Source="Toco Toucan.jpg"  />
                <Label FontSize="12" HorizontalAlignment="Center">Toco Toucan</Label>
                <Image Source="Green Sea Turtle.jpg"  />
                <Label FontSize="12" HorizontalAlignment="Center">Green Sea Turtle</Label>
            </ListBox>
        </StackPanel>
    </Grid>
</Window>

wpf程式設計--圖形版的List

image

<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="550" Width="419">
     <Window.Resources>
        <Style TargetType="Image">
            <Setter Property="Width" Value="120" />
            <Setter Property="Margin" Value="5" />
        </Style>
        <Style TargetType="ListBox">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ListBox">
                        <Border BorderThickness="1" BorderBrush="Black">
                            <ScrollViewer>
                                <StackPanel IsItemsHost="True" Orientation="Vertical"/>
                            </ScrollViewer>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    <Grid>
        <StackPanel Margin="93,32,98,0" Height="441" VerticalAlignment="Top">
            <Label FontSize="30" HorizontalAlignment="Center">Image List</Label>
            <ListBox Width="155" HorizontalAlignment="Center" Height="385">
                <Image Source="Humpback Whale.jpg" />
                <Label FontSize="12" HorizontalAlignment="Center">Humpback Whale</Label>
                <Image Source="Oryx Antelope.jpg"  />
                <Label FontSize="12" HorizontalAlignment="Center">Oryx Antelope</Label>
                <Image Source="Toco Toucan.jpg"  />
                <Label FontSize="12" HorizontalAlignment="Center">Toco Toucan</Label>
                <Image Source="Green Sea Turtle.jpg"  />
                <Label FontSize="12" HorizontalAlignment="Center">Green Sea Turtle</Label>
            </ListBox>
        </StackPanel>
    </Grid>
</Window>

2008年12月2日 星期二

Windows Presentation Foundation (WPF) - Home

 

This project is the portal for accessing the WPF Toolkit and the WPF Futures releases.

Windows Presentation Foundation (WPF) - Home

Windows Presentation Foundation (WPF) - Release: WPF Toolkit - October 2008 Release

 

Downloads & Files

Application WPFToolkit_Binaries

application, 322K, uploaded Oct 28 - 7654 downloads

Source Code WPFToolkit_BinariesAndSource

source code, 751K, uploaded Oct 28 - 6852 downloads

 

Windows Presentation Foundation (WPF) - Release: WPF Toolkit - October 2008 Release

Download details: .NET Framework 3.5 Service pack 1

 

Download details: .NET Framework 3.5 Service pack 1

WPF 基本概念範例

http://msdn.microsoft.com/zh-tw/library/ms771689.aspx

WPF資料繫結概觀

http://msdn.microsoft.com/zh-tw/library/ms752347.aspx

WPF針對自動配置使用格線

http://msdn.microsoft.com/zh-tw/library/ms752074.aspx

WPF使用自動配置建立按鈕

http://msdn.microsoft.com/zh-tw/library/ms750941.aspx

WPF使用自動配置概觀

http://msdn.microsoft.com/zh-tw/library/ms748828.aspx

WPF面板概觀

http://msdn.microsoft.com/zh-tw/library/ms754152.aspx

WPF對齊、邊界和填補概觀

http://msdn.microsoft.com/zh-tw/library/ms751709.aspx

WPF配置系統

http://msdn.microsoft.com/zh-tw/library/ms745058.aspx

WPF 架構

http://msdn.microsoft.com/zh-tw/library/ms750441.aspx

WPF控制項撰寫概觀

http://msdn.microsoft.com/zh-tw/library/ms745025.aspx

XAML 語法術語

http://msdn.microsoft.com/zh-tw/library/ms788723.aspx

2008年11月28日 星期五

iThome online : : 平面設計人員也能開發Ajax網站

 

微軟進一步發布了Silverlight 2新版,以及Visual Studio 2008的Silverlight 2工具,讓開發人員可以運用.NET程式語言,例如C#、VB,就可以開發RIA應用。

iThome online : : 平面設計人員也能開發Ajax網站