ComponentOne Input for WinForms
C1.Win.C1Input.4.8 Assembly / C1.Win.C1Input Namespace / C1Label Class / OnBorderColorChanged Method
An System.EventArgs that contains the event data.

In This Topic
    OnBorderColorChanged Method (C1Label)
    In This Topic
    Raises the BorderColorChanged event.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnBorderColorChanged( _
       ByVal e As EventArgs _
    ) 
    protected virtual void OnBorderColorChanged( 
       EventArgs e
    )

    Parameters

    e
    An System.EventArgs that contains the event data.
    Remarks

    Raising an event invokes the event handler through a delegate.

    The OnBorderColorChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

    Notes to Inheritors. When overriding OnBorderColorChanged in a derived class, be sure to call the base class's OnBorderColorChanged method so that registered delegates receive the event.

    See Also