![]() ![]() |
ESRI.ArcGIS.ADF.Tasks | |
LegendItemSettings Constructor(Boolean,Boolean,ResourceList,Boolean,Int32,Int32) | |
See Also Send Feedback |
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.
- 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.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal defaultValue As Boolean, _ ByVal displayInDialog As Boolean, _ ByVal As ResourceList, _ ByVal condensed As Boolean, _ ByVal columns As Integer, _ ByVal columnThreshold As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
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 New LegendItemSettings(defaultValue, displayInDialog, hiddenLayers, condensed, columns, columnThreshold) |
C# | |
---|---|
public LegendItemSettings( bool defaultValue, bool displayInDialog, ResourceList , 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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family