GoDiagram Web Reference
BackgroundOpaqueWhenSelected Property

Gets or sets whether the text background is displayed when selected.
Syntax
'Declaration
 
<DescriptionAttribute("Whether the text background is displayed when selected, and transparent when not selected")>
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Overridable Property BackgroundOpaqueWhenSelected As Boolean
[DescriptionAttribute("Whether the text background is displayed when selected, and transparent when not selected")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public virtual bool BackgroundOpaqueWhenSelected {get; set;}

Property Value

This defaults to false.
Remarks
When this property is true and this text object is selected, we set the TransparentBackground property to false. Assuming there is a suitable BackgroundColor, the text will appear highlit. When the text object is no longer selected, the TransparentBackground property is set to true. Under these circumstances the change to the TransparentBackground property is not recorded by the undo manager (if any). Note that setting this property to true will prevent the normal selection handles from appearing, so that when Resizable is true there won't be any resize handles for the user to manipulate. 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 text highlight when the text object 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

GoText Class
GoText Members
AddSelectionHandles Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback