Delen via


ModelingWindowPane.OnSelectionChanging Method

Notifies event listeners before the selection changes.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

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