Not allowing GridViewColumn to be resized RRS feed

  • Question

  • Is there a way to prevent a user from resizing a GridViewColumn?  I have a GridViewColumn displaying icons which I want to prevent the user from being able to resize.

    Thursday, May 21, 2009 8:51 PM


  • You can do this:

    <GridViewColumn DisplayMemberBinding="{Binding Property}">
        <GridViewColumnHeader Content="Title" IsHitTestVisible="False" />
    • Proposed as answer by Tao Liang Tuesday, May 26, 2009 2:32 AM
    • Marked as answer by Tao Liang Wednesday, May 27, 2009 3:31 AM
    Thursday, May 21, 2009 9:57 PM