Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Accordion.cs | 2015-04-06 | 51.8 kB | |
Totals: 1 Item | 51.8 kB | 0 |
Version 2019.12.13 -Added check for layoutEventArgs != null in layout engine. -Put back OnFontChanged method that updates the toolBox's font size. -Changed toolBox default font to Segoe UI Symbol, which should work on Windows 7. -Added IsHandleCreated checks to prevent premature Handle creation. -c2.Padding and c2.Margin are assigned before the content Control added to prevent OnSizeChanged events. Version 2015.08.18b -Same as 2015.08.18, just moved files around, and removed build commands to make compiling hassle free. Version 2015.08.18 -Added code to eliminate scrollbar flicker when sliding open for a nested accordion. -Fixed a issue with the fill down button not working if the control is not locked. The control is now temporarily locked, a layout is performed, and then the original lock value is restored. -Fixed issue with the fill down button not scrolling the control to the ideal spot. -Added Refresh() after control close animation, otherwise scrollbar artifacts would be left on the screen. -Fixed Fill-All button from being enabled when it has no effect. Also, fixed problem will allocating the wrong extra space. -ToolBox Open-All button is now disabled if the accordion's OpenOneOnly is true. Version 2015.08.05 -Fixed bug when FillModeGrowOnly is true. The extra height was incorrectly being reset to zero for all controls. -When ResetFillOnCollapse is true, the controls are now unlocked also. Otherwise a locked control with a fillWt > 0 would appear much smaller next time it is opened. -Now, resize bars do not fade-in when the mouse is over a a header checkbox. -Improved open animation, especially for controls at the bottom of the screen. Before, the animation would occur below the visible region. Now the control is moved up and then the animation happens. Version 2015.08.03 -Improved layout handling. Removed the internal FlowLayoutPanel and replaced with a custom AccordionLayoutEngine. This eliminates the problem where the horizontal scrollbar is briefly displayed when the vertical scrollbar first appears. -Added an option for slide-up and slide-down animation effects when a control is opened or closed. -Added an option to show a resize bar, which acts a visual cue for the user to know the control can be resized. -The resize bars are set by default to fade-in and fade-out based on the proximity of the mouse pointer. Set the proximity threshold to zero to always show the resize bars. -Resize bars can be moved using the up and down arrow keys. -Fixed methodology to set the focus on the first control when a checkbox is opened. -Support added for adhering to the added control's Minimimum and Maximum size properties. Version 2015.04.05 -Removed unused line of code: bool hit = bounds.Contains(pt); -Fixed bug when the mouse was clicked on a drag area which was on top of a scrollbar. The scrollbar consumed the mouse events and needed to have the capture released. -Fixed bug. Mouse would turn into the grab cursor when it was over a grab bar that belonged to an Accordion in a background window, or when the mouse was on top of a child window that was covering the accordion. Version 2015.01.16 -Rewrote the mouse drag behavior using IMessageFilter. In addition to cleaner code, this also fixed the mouse cursor staying as the SizeNS cursor bug. -Added GrabWidth property that specifies when the mouse turns into the GrabCursor cursor. -Added GrabCursor property, default value of Cursors.SizeNS. -Added <summary> comments to the properties and input parameters. -Fixed layout issue that happens when minimizing and restoring a window. Some of the controls would appear invisible because as the form is minimized, its height changes to zero. For more info, see the Accordion.OnSizeChanged method and the AccordionLayoutProblemForm at the bottom. -Fixed the bug when the accordion font changes, the tool box's sub-menu fonts weren't updated. Before the font size would stay the same for the sub-menus. -Fixed fill all from being greyed out. It was using the wrong size. -Overrode the Accordion's GetPreferredSize method to return the FLP host's preferred size. -Added method CheckBoxForControl(Control c) which returns the header checkbox for a given nested control, or null if the control is not found. v2014.11.12 -Initial Release