'Declaration Public Overloads Sub DeleteSelectedRows( _ ByVal displayPrompt As Boolean _ )
public void DeleteSelectedRows( bool displayPrompt )
Invoke this method to delete all selected rows. A particular row, regardless of whether it is selected, can be deleted by invoking its Delete method.
When one or more selected rows are deleted, the BeforeRowsDeleted event is generated, which provides an opportunity to prevent a specific row from being deleted.
When a row is deleted, it is removed from the control and its corresponding record is deleted from the data source. If the record cannot be removed from the data source, the Error event is generated.
Selected UltraGridRow objects are contained in a SelectedRows collection, which can be accessed via the Rows property of the Selected property of the control.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2