GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoText Class / AddSelectionHandles Method
In This Topic
    AddSelectionHandles Method (GoText)
    In This Topic
    Implement a custom selection indicator if BackgroundOpaqueWhenSelected is true.
    Syntax
    public override void AddSelectionHandles( 
       GoSelection sel,
       GoObject selectedObj
    )

    Parameters

    sel
    selectedObj
    Remarks
    When BackgroundOpaqueWhenSelected is true, selecting this object will cause the background to be shown; unselecting will make the background transparent again. This produces the effect of highlighting the text when selected, if the text normally has a transparent background and the BackgroundColor is a suitable highlight color. Changes to the TransparentBackground property are not recorded by the GoUndoManager.
    See Also