ClipItems Property
Description
Specifies whether drawing optimization is used when drawing the items in a gallery.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property ClipItems() As Boolean
Remarks
ClipItems is True by default.
Drawing optimization means that only the item that is checked, the selected item, and the previously selected item are re-drawn.
There might be some cases when manually drawing an item that you would want to set ClipItems to false. For example, you might need to have all items in a gallery redrawn if you create a gallery similar to the table size selection gallery in MS Word. To manually draw items, you must use the DrawItem event to override the default drawing.

See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.