Sorry - I found I had missed adding the reference to PresentationCore.
I was able to build the Accordion demo program OK with VS 2017. But as I tried to integrate the Accordion component with my own project, I ran into the following error: AccordionFiles\FontExWPF.cs(5,26,5,31): error CS0234: The type or namespace name 'Media' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) The line of code from FontExWPF.cs is: using M = System.Windows.Media; I was a bit confused anyway, since I understood this to be Winforms Accordion, not...
Sample code
Can't build demo program
So sorry - I looked at the error message again and noticed the reference to Temp1_Accordion v2015.08.18b.zip. Very strange that this should be there. I can only guess that after extracting the contents of the zip file, I somehow clicked on the solution in the zip file rather than the one I extracted. I don't know how I could have blundered like this or missed the obvious clue in the error message, unless it was the cough medicine I was taking yesterday! Anyway, I have tried it again, and I was not...
It might be an issue with different Visual Studio versions. Just start a new Windows Forms project, and then add all the .cs files to it. For v2019, adding a reference to "PresentationCore" is required. Good luck.
Thanks for your quick response! Sorry to say I still have a problem with the VS solution: C:\Users\Todd\AppData\Local\Temp\Temp1_Accordion v2015.08.18b.zip\Accordion.csproj : error : The project file could not be loaded. Could not find file 'C:\Users\Todd\AppData\Local\Temp\Temp1_Accordion v2015.08.18b.zip\Accordion.csproj'. C:\Users\Todd\AppData\Local\Temp\Temp1_Accordion v2015.08.18b.zip\Accordion.csproj I also tried the 2019 package - pretty much the same problem... Thanks for your help.
A new file (Accordion v2015.08.18b.zip) is available to download. It should be easy now, just open and run.
Can't build demo program
Make sure you are adding the Accordion object to the form, (e.g. form.Controls .Add(accordion);) and make sure the accordion DockStyle is set to fill (accordion.Dock = DockStyle.Fill;).
Sample code
Closing ticket.
Download fails to compile
All source .cs files are in the "src" folder in the zip file. In solution explorer,...
Download fails to compile
Closed-Fixed.
Issues on Nesting Accordion
Please try the version just released, v2015.08.03. It should solve your problem....
I mean if it is done then please let me know, i am desparately looking for it.
Any good news on this ?
I thought I was close to a solution calculating the true available width by subtracting...
Thanks a lot Opulos, i just want to check if someone is looking into it, as the control...
A solution is almost ready.
Any one there to help me out ?
I am using testing code provided by you. just modified it to make accordian dock...
I am using testing code provided by you. just modified it to make accordian dock...
I am using testing code provided by you. just modified it to make accordian dock...
It looks like you want to use 'accordion.FillWidth = false'. Let me know if that...
Even the test code you provided is increasing size (only first time and never reducing...
Possibly one of your controls is missing AutoSizeMode = AutoSizeMode.GrowAndShrink....
Hi Rajesh, Possibly one of your controls is missing AutoSizeMode = AutoSizeMode.GrowAndShrink....
it got resolved resolved after commenting below comment c2.Margin = (cb.Checked ?...
Issues on Nesting Accordion