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
2385
Get Cell Text MaxLength
posted

I paste a string to a cell I add before pasting. So I can not get CellValuePresenter.

Can I get the text MaxLenth of the cell without CellValuePresenter?

Parents
  • 27093
    posted

    Hello Shengjie,

     

    If you are adding cells to a XamDataGrid Field you can always use the Cells’ Field’s width, since the Cells are auto sized to fit their Fields’width. You can use the Field’s LabelMaxWidthResolved and LabelWidthResolved properties.

     

    If this doesn’t help please describe your scenario in more details and/or upload some descriptive screenshots and/or sample to this thread.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support

Reply Children