Welcome to the Xceed Community | Help
Community Search  
More Search Options

disable row resizing when the row selector pane is enabled?

Sort Posts: Previous Next
  •  04-18-2009, 7:15 PM Post no. 20363

    disable row resizing when the row selector pane is enabled?

    Is there a way to disable row sizing when the row selector pane is enabled?

    Using the TableView sample: disable the group-by control and the fixed-column splitter.  

    I want to disable the following behavior  move the mouse cursor to the row selector to a row separator (get the N-S cursor), select and resize.


  •  04-22-2009, 3:46 PM Post no. 20475 in reply to 20363

    Re: disable row resizing when the row selector pane is enabled?

    ping? anyone?
  •  04-24-2009, 4:59 PM Post no. 20541 in reply to 20363

    Re: disable row resizing when the row selector pane is enabled?

    Hi Bryan,

    To disable the ability to resize the rows, you need to set the MinHeight and MaxHeight properties on the DataRow and make them the same value.

    For example:

      <Style TargetType="{x:Type xcdg:DataRow}" >
        <Setter Property="MinHeight" Value="50" />
        <Setter Property="MaxHeight" Value="50" />
      </Style>


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
  •  05-27-2009, 11:35 AM Post no. 21218 in reply to 20541

    Re: disable row resizing when the row selector pane is enabled?

    Do you have any better suggestions? I don't know the height and it actually varies based on theme, between master/detail levels, editing state, etc.

    Is there a way to turn this feature off?

  •  05-27-2009, 5:13 PM Post no. 21230 in reply to 21218

    Re: disable row resizing when the row selector pane is enabled?

    Hi Alex,

    Unfortunately there are no other workaround at this time. I have however submitted a user request to the development team to add something else like a true/false property, but at this time I don't know when it will be added. We will post again here when we have more information.


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
  •  07-17-2009, 4:01 AM Post no. 22675 in reply to 21230

    Re: disable row resizing when the row selector pane is enabled?

    well it's kinda strange,

    Xceed.Grid.RowSelectorPane class implements AllowRowResize property, but

    Xceed.Wpf.DataGrid.RowSelectorPane does not implement such property

    it's exactly what we would like to have also...so why it's not so?

  •  07-21-2009, 9:07 AM Post no. 22745 in reply to 22675

    Re: disable row resizing when the row selector pane is enabled?

    Because these are 2 different products with different feature sets. The solution Diane provided to set the MinHeight and MaxHeight properties of the rows to the same value is usually the solution we provide to clients who want to prevent rows from being resized.
    Senior Technical Writer
    - Xceed Software

    In three words I can sum up everything I've learned about life: it goes on.
  •  03-16-2010, 2:41 PM Post no. 26132 in reply to 21230

    Re: disable row resizing when the row selector pane is enabled?

    It appears TableView now has an AllowRowResize parameter (at least in 3.6).
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.