2008-11-01から1ヶ月間の記事一覧

.NET Framework Client Profile

まず、.NET Framework Client Profileについてはディベロッパー製品開発統括部Blogに説明がありますので、こちらをご参照ください。 ディベロッパー製品開発統括部 Blog : .NET Framework 3.5 Client Profile このClient Profile、.NET Framework 3.5 SP1と…

WPFとSilverlightのVisualStateMangerは実装が異なる

VisualStateManager for desktop WPF – Tales from the Smart Client Furthermore, the normal pattern for using Silverlight controls with VisualStateManager is to have the controls call GoToState() in their implementation code. But desktop WPF …

WPFにあってSilverlight 2にないシリーズ「リソースディクショナリファイルの利用」

WPFでは、Visual Studioのアイテムテンプレートに「リソース ディクショナリ (WPF)」という項目が存在します。 追加したリソースディクショナリを下記のように記述し、 Dictionary1.xaml <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Style x:Key="bstyle" TargetType="Button"> </resourcedictionary>

Silverlight ToolkitのTheme

Silverlight ToolkitのMicrosoft.Windows.Controls.Theming.dllには、ImplicitStyleManager(以下、ISM)の仕組みを利用したThemeというクラスも用意されています。ThemeはContentControlとなっており、Styleを適用させたい階層をThemeではさむようなかたち…

Silverlight ToolkitのImplicitStyleManager

unfold: Using ImplicitStyleManager and Theme Containers WPFの場合、コントロール(UI要素)にStyleを適用する方法は、Styleの名前(x:Key 属性 )を各コントロールのStyleプロパティ指定する方法と、StyleのTargetTypeプロパティに適用したいコントロー…

3種類あるMicrosoft製Silverlightコントロール

Microsoft製のSilverlightコントロール*1は、大きく分けて以下の3種類が存在します。 1.Silverlight 2のコアラインタイムに含まれているもの アセンブリ:System.Windows.dll Border Button Canvas CheckBox ComboBox ComboBoxItem ContentControl Content…