ComponentOne Sizer for WinForms
C1.Win.Sizer.6 Assembly / C1.Win.Sizer Namespace / C1SizerLight Class / ResizingControl Event

In This Topic
    ResizingControl Event (C1SizerLight)
    In This Topic
    Fires before the C1SizerLight resizes a control in response to the form being resized.
    Syntax
    '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.

    PropertyDescription
    Determines whether the font for this control should be resized.  
    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