質問

私は設定ページ C#で構築され、2つの方法でカスタマイズしたいです。

  1. アルファベットではない特定の順序で並べ替えられるような設定があります。
  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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top