GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoStroke Class / HighlightWhenSelected Property
In This Topic
    HighlightWhenSelected Property (GoStroke)
    In This Topic
    Gets or sets whether the highlight is shown when this stroke becomes selected.
    Syntax
    [Category("Behavior")]
    [DefaultValue(false)]
    [Description("Whether the highlight is shown when this stroke becomes selected.")]
    public virtual bool HighlightWhenSelected {get; set;}

    Property Value

    This defaults to false.
    Remarks
    When this property is true and this stroke is selected, we set the Highlight property to true. Assuming there is a value for HighlightPen, the stroke will appear highlit. When the stroke is no longer selected, the Highlight property is set to false. Under these circumstances the change to the Highlight property is not recorded by the undo manager (if any). This feature should only be used when there is only one view on the document, or if it is OK for all views on the document to display the highlight when the stroke is selected in just one of the views.
    See Also