「テンプレート:Hcc」の版間の差分

提供: とある社畜の頭脳整理
ナビゲーションに移動 検索に移動
1行目: 1行目:
 +
<noinclude>{{hcc|head=MainWindow.xaml|lang=xml|output=<Window x:Class="MVVM_Sample.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:MVVM_Sample"
 +
        mc:Ignorable="d"
 +
        Title="MainWindow" Height="450" Width="800">
 +
    <Grid>
 +
       
 +
    </Grid>
 +
</Window>
 +
}}
 +
 +
 +
</noinclude>
 
<includeonly>
 
<includeonly>
<pre<noinclude></noinclude> style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">{{{head|{{{1|{{META Error}}}}}}}}</pre<noinclude></noinclude>>
+
{{#tag:pre|{{{head}}}|style="margin-bottom: -14px; border-bottom: none; padding-bottom: 0.8em;"}}
<syntaxhighlight lang="{{{lang|{{{2|{{META Error}}}}}}}}"<noinclude></noinclude>>{{{output|{{{3|{{META Error}}}}}}}}<<noinclude></noinclude>/syntaxhighlight>
+
{{#tag:syntaxhighlight|{{{output}}}|lang="{{{lang}}}"|sytle=""}}<br/>
 
</includeonly>
 
</includeonly>

2020年2月6日 (木) 03:40時点における版


MainWindow.xaml
<Window x:Class="MVVM_Sample.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:MVVM_Sample"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        
    </Grid>
</Window>