回答編集履歴
2
見直しキャンペーン中
test
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
普通の(素の)DatePickerは、何もしなくても日本語になると思います。
|
1
|
+
普通の(素の)`DatePicker`は、何もしなくても日本語になると思います。
|
2
|
-
```x
|
2
|
+
```xml
|
3
3
|
<Window
|
4
4
|
x:Class="Qs88bt90k25ufz4.MainWindow"
|
5
5
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
@@ -22,7 +22,7 @@
|
|
22
22
|
.NET 6.0
|
23
23
|
[NuGet Gallery | MaterialDesignThemes 4.5.0](https://www.nuget.org/packages/MaterialDesignThemes/4.5.0)
|
24
24
|
|
25
|
-
```x
|
25
|
+
```xml
|
26
26
|
<Window
|
27
27
|
x:Class="Qs88bt90k25ufz4.MainWindow"
|
28
28
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</StackPanel>
|
35
35
|
</Window>
|
36
36
|
```
|
37
|
-
```x
|
37
|
+
```xml
|
38
38
|
<Application
|
39
39
|
x:Class="Qs88bt90k25ufz4.App"
|
40
40
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
1
誤解されそうな表現
test
CHANGED
@@ -1,5 +1,19 @@
|
|
1
|
-
普通のDatePicker
|
1
|
+
普通の(素の)DatePickerは、何もしなくても日本語になると思います。
|
2
|
+
```xaml
|
3
|
+
<Window
|
4
|
+
x:Class="Qs88bt90k25ufz4.MainWindow"
|
2
|
-
|
5
|
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
6
|
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
7
|
+
Width="800"
|
8
|
+
Height="450">
|
9
|
+
<StackPanel>
|
10
|
+
<DatePicker />
|
11
|
+
</StackPanel>
|
12
|
+
</Window>
|
13
|
+
```
|
14
|
+

|
15
|
+
|
16
|
+
---
|
3
17
|
|
4
18
|
画像を見る限り「Material Design In XAML Toolkit」のようですね。
|
5
19
|
不具合があったようですけど、今は直ってそうですよ。
|
@@ -20,4 +34,24 @@
|
|
20
34
|
</StackPanel>
|
21
35
|
</Window>
|
22
36
|
```
|
37
|
+
```xaml
|
38
|
+
<Application
|
39
|
+
x:Class="Qs88bt90k25ufz4.App"
|
40
|
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
41
|
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
42
|
+
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
43
|
+
StartupUri="MainWindow.xaml">
|
44
|
+
<Application.Resources>
|
45
|
+
<ResourceDictionary>
|
46
|
+
<ResourceDictionary.MergedDictionaries>
|
47
|
+
<materialDesign:BundledTheme
|
48
|
+
BaseTheme="Light"
|
49
|
+
PrimaryColor="DeepPurple"
|
50
|
+
SecondaryColor="Lime" />
|
51
|
+
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
|
52
|
+
</ResourceDictionary.MergedDictionaries>
|
53
|
+
</ResourceDictionary>
|
54
|
+
</Application.Resources>
|
55
|
+
</Application>
|
56
|
+
```
|
23
57
|

|