「WPF サンプル」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「==WPF サンプル== [WPF] ===NuGet=== *[www.galasoft.ch/mvvm Mvvmlight] *[https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki SQLite] *[https://archi…」) |
|||
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" | ||
17行目: | 17行目: | ||
mc:Ignorable="d" | mc:Ignorable="d" | ||
DataContext="{Binding Main, Source={StaticResource Locator}}" | DataContext="{Binding Main, Source={StaticResource 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> | |
2020年2月15日 (土) 08:07時点における版
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 矢木浩人