Version

ResetDisplayLayout Method (UltraGridComboColumn)

Resets the properties of the object to their default values.
Syntax
'Declaration
 
Public Sub ResetDisplayLayout() 
public void ResetDisplayLayout()
Remarks

Use this method to reset the properties of an DisplayLayout object to their default values. The appearance of any object associated with the DisplayLayout object will change accordingly. You can specify which groups of properties should be reset using the categories parameter. If you do not specify a value for this parameter, all property values are reset. You can also specify whether the InitializeLayout event will fire as a result of this method being invoked. If you do not specify this parameter, the event does not occur.

When specifying 256 (PropCatGeneral), the following property settings for the DisplayLayout object are reset:



  • AddNewBox
  • AlphaBlendEnabled
  • BorderStyle
  • BorderStyleCaption
  • Caption
  • Enabled
  • EstimatedRows
  • Font
  • InterBandSpacing
  • MaxColScrollRegions
  • MaxRowScrollRegions
  • Override
  • RowConnectorColor
  • RowConnectorStyle
  • ScrollBars
  • TabNavigation
  • TagVariant
  • TipDelay
  • ViewStyle
  • ViewStyleBand

Multiple DisplayLayout categories can be copied by combining them using logical Or.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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