Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / Deselect Method
The drawing object to deselect.
if set to true, the drawing object won't be deselected if it's the last selected drawing object.
if set to true, GrapeCity.Spreadsheet.UI.UIManager.ShapeChanged will be fired.


In This Topic
    Deselect Method (WorksheetDrawing)
    In This Topic
    De-selects the specified drawing object.
    Syntax
    'Declaration
     
    
    Public Function Deselect( _
       Optional ByVal shape As Shape, _
       Optional ByVal mustHaveOneSelected As Boolean, _
       Optional ByVal fireEvent As Boolean, _
       Optional ByVal notifyUI As Boolean _
    ) As Shape
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim shape As Shape
    Dim mustHaveOneSelected As Boolean
    Dim fireEvent As Boolean
    Dim notifyUI As Boolean
    Dim value As Shape
     
    value = instance.Deselect(shape, mustHaveOneSelected, fireEvent, notifyUI)

    Parameters

    shape
    The drawing object to deselect.
    mustHaveOneSelected
    if set to true, the drawing object won't be deselected if it's the last selected drawing object.
    fireEvent
    if set to true, GrapeCity.Spreadsheet.UI.UIManager.ShapeChanged will be fired.
    notifyUI
    See Also