Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3220
xamPropertyGrid set column width
posted

Hello,

how can I set the column width of the property grid? Currently I only can change the column width with the mouse at runtime.

Parents
No Data
Reply
  • 34430
    Verified Answer
    Offline posted

    Hello Markus,

    In order to set the column width of the XamPropertyGrid, I would recommend that you set the NameColumnWidth property on the control. This will control the width of the column that displays the names of the properties in the XamPropertyGrid. The column width of the "editor" column will then be approximately the difference between the NameColumnWidth and the ActualWidth of the XamPropertyGrid itself.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer

Children
No Data