In This Article

BarGalleryItemLayoutBehavior Enum

Specifies how a BarGalleryItem should be arranged within a gallery.

public enum BarGalleryItemLayoutBehavior

Fields

Name Description
Default

Arrange gallery items left to right, wrapping to a new row when the maximum number of columns is reached.

GroupEnd

The gallery item is the end of a group, generally used within color picker shade groups within a BarMenuGallery.

GroupInner

The gallery item is the middle of a group, generally used within color picker shade groups within a BarMenuGallery.

GroupStart

The gallery item is the start of a group, generally used within color picker shade groups within a BarMenuGallery.

MenuItem

The gallery item should be arranged on its own row as a menu item within a BarMenuGallery, effectively in a single full-width column and ignoring item spacing. This setting is useful when a gallery has a special item that should stand out, such as in a color picker gallery where an "Automatic" gallery item should appear in its own row above other color picker shade items.