ESRI.ArcGIS.ADF.Tasks
LegendItemSettings Constructor(Boolean,Boolean,ResourceList,Boolean,Int32,Int32)
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > LegendItemSettings Class > LegendItemSettings Constructor : LegendItemSettings Constructor(Boolean,Boolean,ResourceList,Boolean,Int32,Int32)




defaultValue
Default value for the control.
displayInDialog
Whether to display the control in the UI or not.
hiddenLayers
List of resource names not to display in legend.
condensed
Whether legend appears in condensed form or not.
columns
How many columns to use for the legend.
columnThreshold
Number of swatch elements that must appear when the layer swatches span multiple columns.
Constructor taking individual values for each property of the class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal defaultValue As Boolean, _
   ByVal displayInDialog As Boolean, _
   ByVal hiddenLayers As ResourceList, _
   ByVal condensed As Boolean, _
   ByVal columns As Integer, _
   ByVal columnThreshold As Integer _
)
Visual Basic (Usage)Copy Code
Dim defaultValue As Boolean
Dim displayInDialog As Boolean
Dim hiddenLayers As ResourceList
Dim condensed As Boolean
Dim columns As Integer
Dim columnThreshold As Integer
 
Dim instance As LegendItemSettings(defaultValue, displayInDialog, hiddenLayers, condensed, columns, columnThreshold)
C# 
public LegendItemSettings( 
   bool defaultValue,
   bool displayInDialog,
   ResourceList hiddenLayers,
   bool condensed,
   int columns,
   int columnThreshold
)

Parameters

defaultValue
Default value for the control.
displayInDialog
Whether to display the control in the UI or not.
hiddenLayers
List of resource names not to display in legend.
condensed
Whether legend appears in condensed form or not.
columns
How many columns to use for the legend.
columnThreshold
Number of swatch elements that must appear when the layer swatches span multiple columns.

See Also

© 2010 All Rights Reserved.