You must Sign In to post a response.
  • Category: WPF

    Create a collapsible grid view in wpf

    How do I create a collapsible grid view in wpf. I have a requirement that after click on Label + sign two collapsible grid view should be open with data.
    same for second label and so on.

    It's urgent requirement.
  • #761347
    Hello Vinod,

    You can refer the below links for Grid view expandation :

    http://stackoverflow.com/questions/1305065/how-to-create-a-collapsible-panel-in-wpf

    https://msdn.microsoft.com/en-us/library/system.windows.controls.expander.aspx

    http://www.c-sharpcorner.com/UploadFile/deveshomar/expandable-and-collapsible-rows-in-datagrid-in-C-Sharp-winforms/

    http://www.codeproject.com/Articles/437237/WPF-Grid-Column-and-Row-Hiding


    Hope this will help you.

    Regards,
    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"

  • #761431
    Hi Vonod,
    WPF support accordion control which can be used for expand and collapse feature.
    Below is link for adding and then implementing the accordion control in WPF:

    http://www.c-sharpcorner.com/uploadfile/dpatra/accordion-in-wpf-toolkit/

    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com


Sign In to post your comments