Hello everyone, I am making a custom control which inherits the standard windows Panel object. My control has the ability to align all of the controls in the panel to the left by their index in the Controls array. I am trying to add a method which swaps the location of two controls in the collection so that when the controls are aligned again, those two controls switch their locations. The issue is, the Controls array is Readonly and I am unable to override the Control property to allow it to be Read/Write because it is not declared as overridable. Is there any way for me to access the order of the controls in the collection? I would prefer not to create the control from scratch with my own array.
Thanks in advance