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
535
Max. Coumns in UltraWinListView
posted

Hi,

i use the ultrawinlistview to show items with two subitems in tileview.

one of the subitems is a little bit longer so that it is cutted in the view and diplayed with ..

Now i have always 4 columns in view.

Is it possible to limit this (to 3) or let the items be display full??

Thanks for every idea!!

Torsten

Parents
No Data
Reply
  • 7695
    Verified Answer
    Offline posted

    Hi Torsten,

        The columns able to be rendered is based on the size of the tiles. There is currently no direct property offered to limit the number of tiled column. So the best way to limit the number of columns of tiles to be displayed is to change the size of the tiles. You can just manually set it in the listView1.ViewSettingsTiles.ItemSize. By the nature of the ListView, all tiles must be the same size, and that size by default is derived from a mix of the ImageSize and the ItemSpacing. Both of which can also be changed in ViewSettingsTiles. Additionally while there is no property to limit the TileColumns to a specific count, you should be able to generate that affect, by initializing the ItemSize based on the Size of the ListView, then listen to the SizeChanged event of the ListView, and set the ItemSize accordingly.

    Let me know if that helps,

    Michael Germann
    Software Development Team Lead
    Infragistics

Children