Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace : GoPalette Class |
'Declaration <ToolboxBitmapAttribute()> <SerializableAttribute()> Public Class GoPalette Inherits GoView Implements IGoLayerAbilities, IGoLayerCollectionContainer
[ToolboxBitmapAttribute()] [SerializableAttribute()] public class GoPalette : GoView, IGoLayerAbilities, IGoLayerCollectionContainer
The spacing and positioning of the items is controlled by the GoView.Grid.GoView.GridCellSizeWidth and GoView.GridCellSizeHeight control the spacing between items--smaller values will allow the objects to be placed closer together without overlapping, but will increase the likelihood of unaligned columns (or rows) if the objects have different sizes. GoView.GridOriginX and GoView.GridOriginY control the amount of "margin" space at the top and left of the view. However, if AlignsSelectionObject is true and the selection objects tend to be smaller than the items, this margin should be larger to accomodate those wider item parts (unless you want to allow them to be clipped).
You can control whether the objects are sorted, and in what order they are sorted, by setting the Sorting property. You can control the way the objects are laid out in a grid, with the scrollbar (if needed) either vertical or horizontal, by setting the Orientation property. Because LayoutItems is designed to take this view's scale and size into accout, this class is not designed to share its document with other views.
Palettes do not support sheets or GoView.SheetStyle. Since users are not expected to move or resize any of the objects, the grid GoView.GridSnapDrag and GoView.GridSnapResize behavior is ignored.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Northwoods.GoWeb.GoView
Northwoods.GoWeb.GoPalette
Target Platforms: 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