Winforms設定ページのカスタマイズページ
-
14-11-2019 - |
質問
私は設定ページ C#で構築され、2つの方法でカスタマイズしたいです。
- アルファベットではない特定の順序で並べ替えられるような設定があります。
- 他の設定の値から始まる特定の設定の編集を有効/無効にしたいのですが。
設定ページでこれを行うことは可能ですか、またはカスタムコントロールを設計する必要がありますか?
ありがとう!
解決
If you are using the PropertyGrid control you can read up on how to customise it here and here.
In order to display properties some of the time you can implement the ICustomTypeDescriptor interface by doing this you will be able to control the order and the list of properties to be edited dynamically.
所属していません StackOverflow