最終更新:2016-02-18 (木) 19:35:28 (2989d)  

xmlns:x
Top / xmlns:x

http://schemas.microsoft.com/winfx/2006/xaml

XAML

  • 2 番目の宣言は、個別の XAML 名前空間を割り当てます (通常は、x: プレフィックスに割り当てます)。
    <Window x:Class="WpfApplication1.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:WpfApplication1"
            mc:Ignorable="d"
            Title="MainWindow" Height="350" Width="525">
        <Grid>
    
        </Grid>
    </Window>

関連