Share via


RibbonGallery.GalleryItemStyle Property

Gets or sets the style that is applied to items in the RibbonGallery.

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

Syntax

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

Property Value

Type: System.Windows.Style
The style that is applied to items in the RibbonGallery. 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

GalleryItemStyleProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonGallery Class

Microsoft.Windows.Controls.Ribbon Namespace