GoDigram for .NET Framework and .NET Core
Northwoods.Go.Svg Namespace / GoSvgWriter Class / SupportsSelection Property
In This Topic
    SupportsSelection Property
    In This Topic
    Gets or sets whether to allow the user to select objects.
    Syntax
    public bool SupportsSelection {get; set;}

    Property Value

    The default value is true.
    Remarks
    A selectable object must not only have GoObject.CanView() be true, but GetSelectionId must also return a unique ID for it. That ID, prefixed with "I", becomes the id of the generated element in the DOM. Any selection handles are also generated as a group; its id is the same, but prefixed with "H". This property affects the behavior of GenerateSelectionHandles, since when this property is false, there is no need to produce selection handle objects, other than those that are visible anyway if PaintView is true.
    See Also