GoDiagram Win Reference
OnItemWidthChanged Method

the former ItemWidth value
Determine how to change the width of all of items in the ListGroup when the ItemWidth changes.
Syntax
'Declaration
 
Public Overridable Sub OnItemWidthChanged( _
   ByVal old As Single _
) 
public virtual void OnItemWidthChanged( 
   float old
)

Parameters

old
the former ItemWidth value
Remarks
This changes the GoObject.Width of each item to the new ItemWidth value, if the new width is positive. Furthermore, if the item is an instance of GoText, the WrappingWidth is set to the same new item width. A non-positive value does not change either GoObject.Width or WrappingWidth. You may wish to override this method in order to customize how the properties of the items are set when the item width is changed.
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

GoMultiTextNode Class
GoMultiTextNode Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback