locked
listview tile not working anymore RRS feed

  • Question

  • I've got a winform listview that display two line of information using tile view…

    Recently i discover the listview display the information as if it was in largeicons view…

    I suppose it's a recent bug due to a .net framework update (some of winform controls are updated to manage multiscreen,…)..

    Is it a known issue (do some of you meet this problem) ?

    Thanks for any information. Xavier

    • Moved by Stanly Fan Wednesday, December 26, 2018 2:33 AM
    Friday, December 14, 2018 2:20 PM

Answers

  • the trouble was due to Application.EnableVisualStyles() ! This piece of code was set in an Office addin in the  AddinInitialize event and worked well a few time ago. I change the emplacement to set it in the module constructor and it resolved this issue ! 
    • Marked as answer by Xavier N Friday, January 18, 2019 2:48 PM
    Friday, January 18, 2019 2:47 PM

All replies

  • Hi Xavier N,

    Could you explain the tile view you are using? Is it a control provided by DevExpress? If the answer is yes, maybe you can get more help in this forum: DevExpress Support Center. Otherwise, it would be better if you can provide more information.

    Regards,

    Kyle

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, December 17, 2018 2:47 AM
  • Hi Kyle,

    Sorry i just see your answer.

    The problem still exists and it concern builtin winform listview control (tile view is just the view property set to 'tile' as it can also be set to largeicons..). Nothing to do with Devexpress contols so i think that thread may be reset to its orginal place as it may interrests..

    Here are two picture of a form with a the list view

    First picture is from a project targeting .Net framework 4 client profile (but the lisview was ok when i used 4.5 or 4.6)

    Second Picture is from a project targeting .Net Famework 4.7.1

    As you may see, the tile view don't show anymore the same information… and the groups disapeared (in any kind of view)…

    Thanks for taking this problem into consideration and for your answer… 

    (Sorry for the language and expression)

    Regards

    Xavier


    • Edited by Xavier N Thursday, January 17, 2019 10:05 AM
    Thursday, January 17, 2019 10:02 AM
  • the trouble was due to Application.EnableVisualStyles() ! This piece of code was set in an Office addin in the  AddinInitialize event and worked well a few time ago. I change the emplacement to set it in the module constructor and it resolved this issue ! 
    • Marked as answer by Xavier N Friday, January 18, 2019 2:48 PM
    Friday, January 18, 2019 2:47 PM