NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISelectionUIService.SyncSelection

This should be called when a component has been moved, sized or re-parented, but the change was not the result of a property change. All property changes are monitored by the selection UI service, so this is automatic most of the time. There are times, however, when a component may be moved without a property change notification occurring. Scrolling an auto scroll Win32 form is an example of this. This method simply re-queries all currently selected components for their bounds and udpates the selection handles for any that have changed.

[Visual Basic]
Sub SyncSelection()
[C#]
void SyncSelection();
[C++]
void SyncSelection() = 0;
[JScript]
function SyncSelection();

See Also

ISelectionUIService Interface | ISelectionUIService Members | System.WinForms.Design Namespace