次の方法で共有


PropertySort 列挙体

PropertyGrid でのプロパティの並べ替え方法を指定します。

<Serializable>
<ComVisible(True)>
Public Enum PropertySort
[C#]
[Serializable]
[ComVisible(true)]
public enum PropertySort
[C++]
[Serializable]
[ComVisible(true)]
__value public enum PropertySort
[JScript]
public
   Serializable
 ComVisible(true)
enum PropertySort

解説

この列挙体のメンバを使用して、 PropertyGridPropertySort プロパティの値を設定します。

メンバ

メンバ名 説明
Alphabetical プロパティは、アルファベット順で並べ替えられます。
Categorized プロパティは、所属するカテゴリ グループに従って表示されます。所属するカテゴリは、各プロパティが独自に定義しています。
CategorizedAlphabetical プロパティは、所属するカテゴリ グループに従って表示されます。プロパティは、グループ内でさらにアルファベット順に並べ替えられます。所属するカテゴリは、各プロパティが独自に定義しています。
NoSort プロパティは、 TypeDescriptor から取得された順序で表示されます。

必要条件

名前空間: System.Windows.Forms

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

アセンブリ: System.Windows.Forms (System.Windows.Forms.dll 内)

参照

System.Windows.Forms 名前空間