Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

2011-04-05から1日間の記事一覧

複数のTriggerでコントロールのプロパティを制御する

アプリ実行 起動 マウスオーバー ソースコード App.xaml <Application x:Class="WpfApplication9.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml"> </Application> MainWindow.xaml

Triggerでコントロールのプロパティを制御する

アプリ実行 起動 マウスオーバー ソースコード App.xaml <Application x:Class="WpfApplication7.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml"> </Application> MainWindow.xaml

DataTriggerでコマンドのバインディングをマークアップに移動させる

アプリ実行 起動 猫の[歩く]をクリック 鈴木の[歩く]をクリック ソースコード App.xaml <Application x:Class="CommandDataTriggerSample.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml"> </Application> MainWindow.xaml