'Declaration Public Event ResizingControl As C1SizerLightEventHandler
public event C1SizerLightEventHandler ResizingControl
Event Data
The event handler receives an argument of type C1SizerLightEventArgs containing data related to this event. The following C1SizerLightEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Determines whether the font for this control should be resized. |
Control | Gets a reference to the control whose font is about to be resized by the C1SizerLight component. |
Remarks
By default, C1SizerLight will resize all child controls on a form when the form is resized (except controls that are docked or contained in a C1Sizer control).
In some cases, you may want to prevent the C1SizerLight from resizing certain controls on the form. For example, you may have a an event handler that takes care of resizing specific controls on the form using specialized logic.
See Also