Share via


ModelingWindowPane.OnSelectionChanging Method

Notifies event listeners before the selection changes.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Protected Overridable Sub OnSelectionChanging ( _
    e As EventArgs _
)
protected virtual void OnSelectionChanging(
    EventArgs e
)
protected:
virtual void OnSelectionChanging(
    EventArgs^ e
)
abstract OnSelectionChanging : 
        e:EventArgs -> unit  
override OnSelectionChanging : 
        e:EventArgs -> unit
protected function OnSelectionChanging(
    e : EventArgs
)

Parameters

  • e
    Type: EventArgs

    The event arguments.

Remarks

Derived classes that override this method should make sure to call the base class so that all event listeners are notified.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace