Skip to main content
Bar

Gallery Properties

Represents a gallery of items.
Name Description
ActualHeight Gets the rendered height of this element. Inherited from FrameworkElement.
ActualWidth Gets the rendered width of this element. Inherited from FrameworkElement.
AllowDrop Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. Inherited from UIElement.
AllowFilter

Gets or sets whether the group filtering feature is enabled. This is a dependency property.

AllowHoverAnimation

Gets or sets whether hover images are displayed with an animation effect. This is a dependency property.

AllowHoverImages

Gets or sets whether the hover images feature is enabled. This is a dependency property.

AllowSmoothScrolling Gets or sets whether smooth scrolling is enabled.
AllowToolTips

Gets or sets whether tooltips are displayed for gallery items. This is a dependency property.

AreAnyTouchesCaptured Gets a value that indicates whether at least one touch is captured to this element. Inherited from UIElement.
AreAnyTouchesCapturedWithin Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree. Inherited from UIElement.
AreAnyTouchesDirectlyOver Gets a value that indicates whether at least one touch is pressed over this element. Inherited from UIElement.
AreAnyTouchesOver Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree. Inherited from UIElement.
AutoHideGallery

Gets or sets whether a gallery, when it’s displayed within a dropdown window, is automatically closed on clicking its gallery item. This is a dependency property.

Background Gets or sets a brush that describes the background of a control. Inherited from Control.
BindingGroup Gets or sets the BindingGroup that is used for the element. Inherited from FrameworkElement.
BitmapEffect Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property. Inherited from UIElement.
BitmapEffectInput Gets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. This is a dependency property. Inherited from UIElement.
BorderBrush Gets or sets a brush that describes the border background of a control. Inherited from Control.
BorderThickness Gets or sets the border thickness of a control. Inherited from Control.
CacheMode Gets or sets a cached representation of the UIElement. Inherited from UIElement.
CheckDrawMode

Gets or sets how gallery items are painted when in the checked state. This is a dependency property.

CheckedItems Gets the collection of checked GalleryItems.
Clip Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. Inherited from UIElement.
ClipToBounds Gets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. This is a dependency property. Inherited from UIElement.
ClonedFrom This member supports the internal infrastructure, and is not intended to be used directly from your code.
ColCount

Gets or sets the number of visible columns of gallery items in the gallery. This is a dependency property.

CommandBindings Gets a collection of CommandBinding objects associated with this element. A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element. Inherited from UIElement.
ContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element. Inherited from FrameworkElement.
Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. Inherited from FrameworkElement.
DataContext Gets or sets the data context for an element when it participates in data binding. Inherited from FrameworkElement.
DefaultStyleKey protected Gets or sets the key to use to reference the style for this control, when theme styles are used or defined. Inherited from FrameworkElement.
DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. Inherited from DependencyObject.
DesiredSize Gets the size that this element computed during the measure pass of the layout process. Inherited from UIElement.
Dispatcher Gets the Dispatcher this DispatcherObject is associated with. Inherited from DispatcherObject.
Effect Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property. Inherited from UIElement.
FilterCaption

Gets or sets the caption displayed within the Filter Panel, used to filter groups within the current gallery. This is a dependency property.

FilterCaptionTemplate

Gets or sets the template that presents the Gallery.FilterCaption in a custom manner. This is a dependency property.

FilterControlTemplate

Gets or sets the template used to represent the Gallery’s Filter Panel on-screen. This is a dependency property.

FirstCheckedItem Gets or sets the first checked item within this Gallery. This is a dependency property.
FlowDirection Gets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout. Inherited from FrameworkElement.
Focusable Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. Inherited from UIElement.
FocusVisualStyle Gets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. Inherited from FrameworkElement.
FontFamily Gets or sets the font family of the control. Inherited from Control.
FontSize Gets or sets the font size. Inherited from Control.
FontStretch Gets or sets the degree to which a font is condensed or expanded on the screen. Inherited from Control.
FontStyle Gets or sets the font style. Inherited from Control.
FontWeight Gets or sets the weight or thickness of the specified font. Inherited from Control.
ForceCursor Gets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property. Inherited from FrameworkElement.
Foreground Gets or sets a brush that describes the foreground color. Inherited from Control.
GroupCaptionControlTemplate

Gets or sets the template used to represent a gallery item group’s caption bar on-screen. This is a dependency property.

GroupCaptionHorizontalAlignment

Gets or sets the horizontal alignment of gallery group captions (GalleryItemGroup.Caption). This is a dependency property.

GroupCaptionMargin

Gets or sets the outer indents of a gallery group’s caption (GalleryItemGroup.Caption). This is a dependency property.

GroupCaptionTemplate

Gets or sets the template that presents captions (GalleryItemGroup.Caption) of gallery groups in a custom manner. This is a dependency property.

GroupCaptionTextStyle

Gets or sets the style applied to group captions (GalleryItemGroup.Caption) of gallery groups. This is a dependency property.

GroupCaptionVerticalAlignment

Gets or sets the vertical alignment of gallery group captions (GalleryItemGroup.Caption). This is a dependency property.

GroupItemsMargin

Gets or sets the outer indents of the gallery’s content area, which displays gallery items. This is a dependency property.

Groups Gets a collection of item groups owned by the gallery.
GroupsSource

Gets or sets a collection of objects providing information to generate and initialize gallery groups for the current Gallery container.

This is a dependency property.

GroupStyle

Gets or sets the style applied to a GalleryItemGroup object defined as the Gallery.GroupTemplate‘s content. This is a dependency property.

GroupStyleSelector Gets or sets an object that chooses a style applied to objects generated with the Gallery.GroupsSource collection. This is a dependency property.
GroupTemplate

Gets or sets the template used to visualize objects stored as elements in the Gallery.GroupsSource collection.

This is a dependency property.

GroupTemplateSelector

Gets or sets an object that chooses a template used to visualize objects stored as elements in the Gallery.GroupsSource collection.

This is a dependency property.

HandlesScrolling protected Gets a value that indicates whether a control supports scrolling. Inherited from Control.
HasAnimatedProperties Gets a value indicating whether this element has any animated properties. Inherited from UIElement.
HasEffectiveKeyboardFocus protected Gets a value that indicates whether the UIElement has focus. Inherited from UIElement.
Height Gets or sets the suggested height of the element. Inherited from FrameworkElement.
HintCaptionTemplate

Gets or sets the template that presents a gallery item’s caption (GalleryItem.Caption) when it’s displayed within a tooltip. This is a dependency property.

HintTemplate

Gets or sets the template that presents a gallery item’s GalleryItem.Hint object within a tooltip. This is a dependency property.

HorizontalAlignment Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. Inherited from FrameworkElement.
HorizontalContentAlignment Gets or sets the horizontal alignment of the control’s content. Inherited from Control.
HoverAnimationDuration

Gets or sets the time, in milliseconds, the hover image animation is displayed for a gallery item. This is a dependency property.

HoverGlyphSize

Gets or sets the size of hover images. This is a dependency property.

InheritanceBehavior protected Gets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup. Inherited from FrameworkElement.
InputBindings Gets the collection of input bindings associated with this element. Inherited from UIElement.
InputScope Gets or sets the context for input used by this FrameworkElement. Inherited from FrameworkElement.
IsArrangeValid Gets a value indicating whether the computed size and position of child elements in this element’s layout are valid. Inherited from UIElement.
IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property. Inherited from UIElement.
IsEnabledCore protected Gets a value that becomes the return value of IsEnabled in derived classes. Inherited from UIElement.
IsFocused Gets a value that determines whether this element has logical focus. This is a dependency property. Inherited from UIElement.
IsGroupCaptionVisible

Gets or sets whether gallery groups captions (GalleryItemGroup.Caption) are visible in the current gallery. This is a dependency property.

IsHitTestVisible Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property. Inherited from UIElement.
IsInitialized Gets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit() method called. Inherited from FrameworkElement.
IsInputMethodEnabled Gets a value indicating whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. Inherited from UIElement.
IsItemCaptionVisible

Gets or sets whether captions are displayed for gallery items. This is a dependency property.

IsItemContentVisible

Gets whether gallery item captions or descriptions are visible. This is a dependency property.

IsItemDescriptionVisible

Gets or sets whether descriptions are displayed for gallery items. This is a dependency property.

IsItemGlyphVisible

Gets or sets whether glyphs for gallery items are visible. This is a dependency property.

IsKeyboardFocused Gets a value indicating whether this element has keyboard focus. This is a dependency property. Inherited from UIElement.
IsKeyboardFocusWithin Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property. Inherited from UIElement.
IsLoaded Gets a value that indicates whether this element has been loaded for presentation. Inherited from FrameworkElement.
IsManipulationEnabled Gets or sets a value that indicates whether manipulation events are enabled on this UIElement. Inherited from UIElement.
IsMeasureValid Gets a value indicating whether the current size returned by layout measure is valid. Inherited from UIElement.
IsMouseCaptured Gets a value indicating whether the mouse is captured to this element. This is a dependency property. Inherited from UIElement.
IsMouseCaptureWithin Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property. Inherited from UIElement.
IsMouseDirectlyOver Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. Inherited from UIElement.
IsMouseOver Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). This is a dependency property. Inherited from UIElement.
IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). Inherited from DependencyObject.
IsStylusCaptured Gets a value indicating whether the stylus is captured by this element. This is a dependency property. Inherited from UIElement.
IsStylusCaptureWithin Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property. Inherited from UIElement.
IsStylusDirectlyOver Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. Inherited from UIElement.
IsStylusOver Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property. Inherited from UIElement.
IsTabStop Gets or sets a value that indicates whether a control is included in tab navigation. Inherited from Control.
IsVisible Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property. Inherited from UIElement.
ItemAutoHeight Gets or sets whether the gallery items are stretched to fill the entire height of the Gallery. This property is in effect for galleries used in the RibbonGalleryBarItem.
ItemAutoWidth Gets or sets whether gallery item widths are automatically modified so that the total gallery items’ width matches the Gallery’s width.
ItemBorderTemplate

Gets or sets the template used to represent a gallery item’s borders on-screen. This is a dependency property.

ItemCaptionHorizontalAlignment

Gets or sets the horizontal alignment of a gallery item’s caption. This is a dependency property.

ItemCaptionMargin

Gets or sets the outer indents of a gallery item’s caption. This is a dependency property.

ItemCaptionTemplate

Gets or sets the template used to display a gallery item’s GalleryItem.Caption. This is a dependency property.

ItemCaptionTextStyle

Obsolete. Gets or sets the style applied to a gallery item’s GalleryItem.Caption. This is a dependency property.

ItemCaptionTextStyleSelector Gets or sets an object that chooses a style applied to the Gallery.ItemCaptionTextStyle property. This is a dependency property.
ItemCaptionVerticalAlignment

Gets or sets the vertical alignment of a gallery item’s caption. This is a dependency property.

ItemCheckMode

Gets or sets whether the item checking feature is enabled, and whether single or multiple items can be checked simultaneouly. This is a dependency property.

ItemClickCommand A command that will be executed whenever an end-user clicks any item within this Gallery. This is a dependency property.
ItemContentHorizontalAlignment

Gets or sets the horizontal alignment of a Content Grid (displaying a gallery item’s caption and description) within a gallery item. This is a dependency property.

ItemContentVerticalAlignment

Gets or sets the vertical alignment of a Content Grid (displaying a gallery item’s caption and description) within a gallery item. This is a dependency property.

ItemControlTemplate

Gets or sets the template used to represent a gallery item on-screen. This is a dependency property.

ItemDescriptionHorizontalAlignment

Gets or sets the horizontal alignment of a gallery item’s description. This is a dependency property.

ItemDescriptionMargin

Gets or sets the outer indents of a gallery item’s description. This is a dependency property.

ItemDescriptionTemplate

Gets or sets the template used to display a gallery item’s GalleryItem.Description. This is a dependency property.

ItemDescriptionTextStyle

Obsolete. Gets or sets the style applied to a gallery item’s GalleryItem.Description. This is a dependency property.

ItemDescriptionTextStyleSelector Gets or sets an object that chooses a style applied to the Gallery.ItemDescriptionTextStyle property. This is a dependency property.
ItemDescriptionVerticalAlignment

Gets or sets the vertical alignment of a gallery item’s description. This is a dependency property.

ItemGlyphBorderPadding

Gets or sets the indents between a gallery item’s border and the ImageControl that displays the glyph itself. This is a dependency property.

ItemGlyphBorderTemplate

Gets or sets the template used to represent borders of a gallery item’s glyph on-screen. This is a dependency property.

ItemGlyphHorizontalAlignment

Gets or sets the horizontal alignment and stretch mode of the region surrounded by a gallery item’s glyph borders. This is a dependency property.

ItemGlyphLocation

Specifies the location of a gallery item’s glyph, relative to its caption and description. This is a dependency property.

ItemGlyphMargin

Gets or sets the outer indents of a gallery item’s glyph borders. This is a dependency property.

ItemGlyphRegionSize Gets or sets the display size of item glyph regions. Use this property along with the Gallery.ItemSize property, to enable gallery loading optimization.
ItemGlyphSize

Gets or sets the size of a gallery item’s ImageControl that displays the item’s glyph. This is a dependency property.

ItemGlyphStretch

Gets or sets how a gallery item’s glyph is stretched within the glyph region’s ImageControl. This is a dependency property.

ItemGlyphVerticalAlignment

Gets or sets the vertical alignment and stretch mode of the region surrounded by a gallery item’s glyph borders. This is a dependency property.

ItemMargin

Gets or sets the outer indents of a gallery item. This is a dependency property.

ItemSize Gets or sets the display size of gallery items. Use this property along with the Gallery.ItemGlyphRegionSize property to enable gallery loading optimization.
Language Gets or sets localization/globalization language information that applies to an element. Inherited from FrameworkElement.
LayoutTransform Gets or sets a graphics transformation that should apply to this element when layout is performed. Inherited from FrameworkElement.
Margin Gets or sets the outer margin of an element. Inherited from FrameworkElement.
MaxHeight Gets or sets the maximum height constraint of the element. Inherited from FrameworkElement.
MaxWidth Gets or sets the maximum width constraint of the element. Inherited from FrameworkElement.
MinColCount

Gets or sets the minimum number of visible columns allowed in the gallery. This is a dependency property.

MinHeight Gets or sets the minimum height constraint of the element. Inherited from FrameworkElement.
MinWidth Gets or sets the minimum width constraint of the element. Inherited from FrameworkElement.
Name Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. Inherited from FrameworkElement.
NormalFilterCaptionTextStyle

Gets or sets the style applied to the Gallery.FilterCaption in the normal state. This is a dependency property.

Opacity Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property. Inherited from UIElement.
OpacityMask Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property. Inherited from UIElement.
OverridesDefaultStyle Gets or sets a value that indicates whether this element incorporates style properties from theme styles. Inherited from FrameworkElement.
Padding Gets or sets the padding inside a control. Inherited from Control.
Parent Gets the logical parent element of this element. Inherited from FrameworkElement.
PersistId Gets a value that uniquely identifies this element. Inherited from UIElement.
RenderSize Gets (or sets) the final render size of this element. Inherited from UIElement.
RenderTransform Gets or sets transform information that affects the rendering position of this element. This is a dependency property. Inherited from UIElement.
RenderTransformOrigin Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property. Inherited from UIElement.
Resources Gets or sets the locally-defined resource dictionary. Inherited from FrameworkElement.
RowCount

Gets or sets the initial number of visible rows of gallery items in the current dropdown gallery when this gallery is invoked. This property is in effect for dropdown galleries. This is a dependency property.

SelectedFilterCaptionTextStyle

Gets or sets the style applied to the Gallery.FilterCaption, when the mouse cursor hovers over the filter panel. This is a dependency property.

SizeMode

Gets or sets how a gallery, when it’s displayed within a dropdown window, can be resized. This is a dependency property.

SnapsToDevicePixels Gets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. This is a dependency property. Inherited from UIElement.
Style Gets or sets the style used by this element when it is rendered. Inherited from FrameworkElement.
StylusPlugIns protected Gets a collection of all stylus plug-in (customization) objects associated with this element. Inherited from UIElement.
SyncWithClone This member supports the internal infrastructure, and is not intended to be used directly from your code.
TabIndex Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. Inherited from Control.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from FrameworkElement.
Template Gets or sets a control template. Inherited from Control.
TemplatedParent Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. Inherited from FrameworkElement.
ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). Inherited from FrameworkElement.
ToolTipTemplate

Gets or sets the template used to represent a gallery item’s tooltip on-screen. This is a dependency property.

TouchesCaptured Gets all touch devices that are captured to this element. Inherited from UIElement.
TouchesCapturedWithin Gets all touch devices that are captured to this element or any child elements in its visual tree. Inherited from UIElement.
TouchesDirectlyOver Gets all touch devices that are over this element. Inherited from UIElement.
TouchesOver Gets all touch devices that are over this element or any child elements in its visual tree. Inherited from UIElement.
Triggers Gets the collection of triggers established directly on this element, or in child elements. Inherited from FrameworkElement.
Uid Gets or sets the unique identifier (for localization) for this element. This is a dependency property. Inherited from UIElement.
UseLayoutRounding Gets or sets a value that indicates whether layout rounding should be applied to this element’s size and position during layout. Inherited from FrameworkElement.
VerticalAlignment Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. Inherited from FrameworkElement.
VerticalContentAlignment Gets or sets the vertical alignment of the control’s content. Inherited from Control.
VerticalScrollBarStyle

Gets or sets the style applied to the gallery’s scroll bar. This is a dependency property.

VerticalScrollbarVisibility Gets or sets whether a vertical scroll bar is shown.
Visibility Gets or sets the user interface (UI) visibility of this element. This is a dependency property. Inherited from UIElement.
VisualBitmapEffect protected Gets or sets the BitmapEffect value for the Visual. Inherited from Visual.
VisualBitmapEffectInput protected Gets or sets the BitmapEffectInput value for the Visual. Inherited from Visual.
VisualBitmapScalingMode protected Gets or sets the BitmapScalingMode for the Visual. Inherited from Visual.
VisualCacheMode protected Gets or sets a cached representation of the Visual. Inherited from Visual.
VisualChildrenCount protected Gets the number of visual child elements within this element. Inherited from FrameworkElement.
VisualClearTypeHint protected Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual. Inherited from Visual.
VisualClip protected Gets or sets the clip region of the Visual as a Geometry value. Inherited from Visual.
VisualEdgeMode protected Gets or sets the edge mode of the Visual as an EdgeMode value. Inherited from Visual.
VisualEffect protected Gets or sets the bitmap effect to apply to the Visual. Inherited from Visual.
VisualOffset protected Gets or sets the offset value of the visual object. Inherited from Visual.
VisualOpacity protected Gets or sets the opacity of the Visual. Inherited from Visual.
VisualOpacityMask protected Gets or sets the Brush value that represents the opacity mask of the Visual. Inherited from Visual.
VisualParent protected Gets the visual tree parent of the visual object. Inherited from Visual.
VisualScrollableAreaClip protected Gets or sets a clipped scrollable area for the Visual. Inherited from Visual.
VisualTextHintingMode protected Gets or sets the TextHintingMode of the Visual. Inherited from Visual.
VisualTextRenderingMode protected Gets or sets the TextRenderingMode of the Visual. Inherited from Visual.
VisualTransform protected Gets or sets the Transform value for the Visual. Inherited from Visual.
VisualXSnappingGuidelines protected Gets or sets the x-coordinate (vertical) guideline collection. Inherited from Visual.
VisualYSnappingGuidelines protected Gets or sets the y-coordinate (horizontal) guideline collection. Inherited from Visual.
Width Gets or sets the width of the element. Inherited from FrameworkElement.
See Also