RibbonGallery.GalleryItemStyle 属性

获取或设置应用于在 RibbonGallery 中项的样式。

命名空间:  Microsoft.Windows.Controls.Ribbon
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public Property GalleryItemStyle As Style
    Get
    Set
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)

属性值

类型:System.Windows.Style
应用于 RibbonGallery 中的项的样式。注册的默认值为 nullnull 引用(在 Visual Basic 中为 Nothing)。有关可以影响值的因素的更多信息,请参见 依赖项属性值优先级

依赖项属性信息

标识符字段

GalleryItemStyleProperty

设置为 true 的元数据属性

.NET Framework 安全性

请参见

参考

RibbonGallery 类

Microsoft.Windows.Controls.Ribbon 命名空间