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




Number of legend swatches per page in the Toc.

Syntax

Visual Basic (Declaration) 
<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.")>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
<ResCategoryAttribute("Toc")>
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# 
[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.")]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
[ResCategoryAttribute("Toc")]
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.

Requirements

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

See Also

© 2011 All Rights Reserved.