Skip to main content

BaseGallery Properties

Represents a base class for galleries.
Name Description
AllowAllUp Gets or sets whether or not all gallery items can simultaneously be in a normal (elevated) state.
AllowGlyphSkinning Gets or sets whether items within this gallery should colorize their icons using foreground colors.
AllowHoverAnimation static Gets or sets whether or not hovering over gallery items is accompanied with animation effects.
AllowHoverImages Gets or sets whether the hover images feature is enabled.
AllowHtmlText Gets or sets whether captions for items and groups in this gallery can be formatted using HTML tags.
AllowItemDrag Gets or sets whether gallery items can be dragged-and-dropped.
AllowMarqueeSelection Gets or sets whether the marquee selection feature is enabled, which allows gallery items to be selected by dragging over items with the mouse.
Appearance Gets the appearances that are used to paint gallery elements.
CanAnimate This member supports the internal infrastructure, and is not intended to be used directly from your code.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CheckDrawMode Gets or sets how gallery items are painted when in the checked state.
CheckSelectedItemViaKeyboard Gets or sets whether the gallery item currently selected via the keyboard should be immediately checked.
ClearSelectionOnClickEmptySpace Gets or sets whether the current selection is cleared when clicking the empty space.
ColumnCount Gets or sets the (maximum) number of columns in the gallery.
Container Gets the IContainer that contains the Component. Inherited from Component.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DistanceBetweenItems Gets or sets the distance between Gallery items.
DistanceItemCaptionToDescription Gets or sets the distance between an item’s caption and its description.
DistanceItemImageToText Gets or sets the distance between an item’s image and its text.
DrawImageBackground Gets or sets whether the background of the Gallery item’s image is displayed.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
FirstItemVertAlignment

Gets or sets the first gallery item’s vertical position beyond which this item cannot be moved when scrolling backwards. (When the gallery is horizontally oriented (see GalleryControlGallery.Orientation), the FirstItemVertAlignment property defines the first item’s horizontal position.

FirstItemVertIndent Gets or sets a custom indent of the first gallery item from the gallery’s top or left edge (depending on the gallery’s orientation). The property is in effect when BaseGallery.FirstItemVertAlignment is set to Custom.
FixedHoverImageSize Gets or sets whether hover images are displayed with the same size.
FixedImageSize Gets or sets whether gallery item images have the same display size, as specified by the BaseGallery.ImageSize property.
FocusedItem Gets a currently focused GalleryItem in this gallery.
GroupContentMargin Gets or sets margins of a gallery group’s content.
Groups Gets a collection of groups owned by the gallery.
HoverImages Gets or sets the source of hover images.
HoverImageSize Gets or sets the size of hover images.
HtmlImages Gets or sets a collection of images that you can embed into captions/messages/tooltips in the control using the image HTML-inspired tag.
Images Gets or sets the source of images that can be displayed within gallery items.
ImageSize Gets or sets the display size of gallery item images.
ItemAutoSizeMode Gets or sets the auto-size mode of gallery items.
ItemCheckMode Gets or sets whether item checking (selection) is enabled, and how the items can be checked (selected).
ItemClickFireMode Gets or sets whether clicks on gallery items are handled synchronously or asynchronously.
ItemImageLayout Gets or sets how a gallery item’s image is displayed within the item’s image area.
ItemImageLocation Gets or sets the location of images within gallery items, relative to the items’ text.
ItemImagePadding Gets or sets the amount of space, in pixels, between the Gallery item’s image and its borders.
ItemSize Gets or sets the size of gallery items when item auto-sizing is disabled. The Width attribute is also in effect when the auto-height feature is enabled.
ItemTextPadding Gets or sets the amount of space, in pixels, between the Gallery item’s text and its borders.
LastItemVertAlignment

Gets or sets the last gallery item’s vertical position, beyond which this item cannot be moved when scrolling forwards. (When the gallery is horizontally oriented (see GalleryControlGallery.Orientation), the LastItemVertAlignment property defines the last item’s horizontal position.

LastItemVertIndent Gets or sets a custom indent of the last gallery item from the gallery’s bottom or right edge (depending on the gallery’s orientation). The property is in effect when BaseGallery.LastItemVertAlignment is set to Custom.
MaxItemWidth Gets or sets an item’s maximum width in GalleryItemAutoSizeMode.Default auto-size mode.
OptionsImageLoad Provides access to the set of properties that manage image loading options for items in this gallery.
OwnerControl Gets a control that owns this BaseGallery.
RowCount Gets or sets the number of rows in a gallery when the gallery is displayed within a dropdown window.
ScaleImages Gets or sets whether gallery items are automatically stretched to match the current DPI settings of the user’s monitor.
ScrollMode Gets or sets how the gallery is scrolled when the BaseGallery.ScrollTo method is called.
ScrollSpeed Gets or sets how fast the gallery is scrolled when calling the BaseGallery.ScrollTo method.
ShowGroupCaption Gets or sets whether group captions are displayed.
ShowItemImage Gets or sets whether Gallery items display their images.
ShowItemText Gets or sets whether Gallery items display their caption and description.
Site Gets or sets the ISite of the Component. Inherited from Component.
Tag Gets or sets an object that contains data on the current BaseGallery object.
UseMaxImageSize Gets or sets whether gallery item images have the same display size as the biggest image.
See Also