LoginSignup
0
0

More than 5 years have passed since last update.

Visual Studio / WPF > 「scm:」プレフィックス付きのXML名前空間 > IDEでの入力

Last updated at Posted at 2017-06-05
動作環境
Windows 7 Pro (32bit)
Microsoft Visual Studio 2017 Community
Sublime Text 2

http://gushwell.ldblog.jp/archives/52306210.html
を元に学習中。

気になった部分は以下。

xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"

CollectionViewSourceのSortDescriptionの記述で使われている。

このXML名前空間をどのように追加するのか不明だった。

以下のようにすればできた。

XAMLファイルのWindowの定義にてxmlns:scm=""まで入力する。
以下のリストが表示される。

2017-06-05_16h01_10.png

componeまで入力し表示されるリストからSystem.ComponentModel(WindowsBase)を選択する。

2017-06-05_16h03_00.png

以下のようになる。

xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0