Back to Devexpress

Gallery.ItemDescriptionTextStyleSelector Property

wpf-devexpress-dot-xpf-dot-bars-dot-gallery-8a17790c.md

latest1.4 KB
Original Source

Gallery.ItemDescriptionTextStyleSelector Property

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

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public StatedStyleSelector ItemDescriptionTextStyleSelector { get; set; }
vb
Public Property ItemDescriptionTextStyleSelector As StatedStyleSelector

Property Value

TypeDescription
DevExpress.Xpf.Bars.StatedStyleSelector

A System.Windows.Controls.StyleSelector descendant that applies a style based on custom logic.

|

Remarks

To implement custom logic for choosing a style, create a System.Windows.Controls.StyleSelector descendant and override the System.Windows.Controls.StyleSelector.SelectStyle method. This method’s return value will be applied to the Gallery.ItemDescriptionTextStyle property.

See Also

Gallery Class

Gallery Members

DevExpress.Xpf.Bars Namespace