ESRI.ArcGIS.ADF.Web.UI.WebControls
SwatchPageSize Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Toc Class : SwatchPageSize Property




Number of legend swatches per page in the Toc.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Toc")>
<ResDescriptionAttribute("The number of legend swatches to display. If the number of legend swatches exceeds the page size, links appear to page between groups of swatches. Zero means no SwatchPageSize.")>
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property SwatchPageSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As Toc
Dim value As Integer
 
instance.SwatchPageSize = value
 
value = instance.SwatchPageSize
C# 
[ResCategoryAttribute("Toc")]
[ResDescriptionAttribute("The number of legend swatches to display. If the number of legend swatches exceeds the page size, links appear to page between groups of swatches. Zero means no SwatchPageSize.")]
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
[NotifyParentPropertyAttribute(true)]
public int SwatchPageSize {get; set;}

Remarks

A layer may be displayed with multiple classes and symbols. For example, a zoning layer may display each zoning type with a different color and pattern. The table of contents control may be expanded for the layer to show these symbol types. If the number of swatches in a layer exceed the SwatchPageSize value, only this number of swatches will be shown, and links will allow the user to page between groups of swatches.

See Also

© 2010 All Rights Reserved.