「WPF サンプル」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「==WPF サンプル== [WPF] ===NuGet=== *[www.galasoft.ch/mvvm Mvvmlight] *[https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki SQLite] *[https://archi…」) |
|||
(同じ利用者による、間の2版が非表示) | |||
1行目: | 1行目: | ||
− | ==WPF サンプル== | + | ==[[WPF サンプル]]== |
− | [WPF] | + | [[WPF]] | |
===NuGet=== | ===NuGet=== | ||
*[www.galasoft.ch/mvvm Mvvmlight] | *[www.galasoft.ch/mvvm Mvvmlight] | ||
9行目: | 9行目: | ||
===Template=== | ===Template=== | ||
[[File:1451_wpf_window_template.jpg]] | [[File:1451_wpf_window_template.jpg]] | ||
− | + | <Window x:Class="FileLayoutConverter.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
16行目: | 16行目: | ||
xmlns:local="clr-namespace:FileLayoutConverter" | xmlns:local="clr-namespace:FileLayoutConverter" | ||
mc:Ignorable="d" | mc:Ignorable="d" | ||
− | DataContext="{Binding Main, Source={ | + | DataContext="{Binding Main, Source={Static[[R]]esource Locator}}" |
− | Title="MainWindow" Height="350" Width="525" | + | Title="MainWindow" Height="350" Width="525"> |
− | + | <DockPanel> | |
− | + | <[[Menu]] DockPanel.Dock="Top" Height="Auto"> | |
− | + | <MenuItem [[Header]]="ファイル(_F)"></MenuItem> | |
− | + | </[[Menu]]> | |
− | + | <ToolBar DockPanel.Dock="Top"> | |
− | + | <Button Content="Button"></Button> | |
− | + | </ToolBar> | |
− | + | <StatusBar DockPanel.Dock="Bottom"> | |
− | + | <StatusBarItem Content="Test"></StatusBarItem> | |
− | + | </StatusBar> | |
− | + | <Grid> | |
− | + | </Grid> | |
− | + | </DockPanel> | |
− | + | </Window> | |
− | ===Tips=== | + | ===[[Tips]]=== |
*http://typea.info/blg/glob/wpf/ | *http://typea.info/blg/glob/wpf/ | ||
2020年2月16日 (日) 04:34時点における最新版
WPF サンプル
WPF |
NuGet
- [www.galasoft.ch/mvvm Mvvmlight]
- SQLite
- NSoup
- MaterialDesignXamlToolkit
Template
<Window x:Class="FileLayoutConverter.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:FileLayoutConverter" mc:Ignorable="d" DataContext="{Binding Main, Source={StaticResource Locator}}" Title="MainWindow" Height="350" Width="525"> <DockPanel> <Menu DockPanel.Dock="Top" Height="Auto"> <MenuItem Header="ファイル(_F)"></MenuItem> </Menu> <ToolBar DockPanel.Dock="Top"> <Button Content="Button"></Button> </ToolBar> <StatusBar DockPanel.Dock="Bottom"> <StatusBarItem Content="Test"></StatusBarItem> </StatusBar> <Grid> </Grid> </DockPanel> </Window>
Tips
© 2006 矢木浩人