GoDiagram Win Reference
HighlightWhenSelected Property (GoStroke)

Gets or sets whether the highlight is shown when this stroke becomes selected.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Whether the highlight is shown when this stroke becomes selected.")>
Public Overridable Property HighlightWhenSelected As Boolean
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("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.
Requirements

Target Platforms: 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

See Also

Reference

GoStroke Class
GoStroke Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback