0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Visual Studio | WPF > カスタム添付プロパティ > AttachedPropertyBrowsableForType > Getには指定して、Setには指定しない

Posted at
動作環境
Windows 8.1 Pro (64bit)
Microsoft Visual Studio 2017 Community
Sublime Text 2

Visual Studio | WPF > カスタム添付プロパティの使用例 | link:AttachedPropertyBrowsableForType
で気になった「AttachedPropertyBrowsableForType 」について。

AttachedPropertyBrowsableForTypeAttribute クラス

This .NET Framework attribute should only be applied on the get accessor of attached property definitions. Do not apply this .NET Framework attribute to the set accessor.

「getには使ってよいが、setには使わないように」ということのようだが、検索で見つかる使用例ではsetにも使っているものもある。

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?