RibbonGallery.GalleryItemTemplate Property

Gets or sets the DataTemplate that is used to display each item in a RibbonGallery.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property GalleryItemTemplate As DataTemplate
public DataTemplate GalleryItemTemplate { get; set; }
public:
property DataTemplate^ GalleryItemTemplate {
    DataTemplate^ get ();
    void set (DataTemplate^ value);
}
member GalleryItemTemplate : DataTemplate with get, set
function get GalleryItemTemplate () : DataTemplate
function set GalleryItemTemplate (value : DataTemplate)

Property Value

Type: System.Windows.DataTemplate
A template that specifies the visualization of the items. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

GalleryItemTemplateProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonGallery Class

Microsoft.Windows.Controls.Ribbon Namespace