Back to Devexpress

GalleryItem.Value Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-galleryitem-1078c74f.md

latest2.7 KB
Original Source

GalleryItem.Value Property

Gets or sets the GalleryItem‘s value.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Data")]
public virtual object Value { get; set; }
vb
<DXCategory("Data")>
Public Overridable Property Value As Object

Property Value

TypeDescription
Object

An Object that is the GalleryItem‘s value.

|

Remarks

The GalleryItem.Value property affects how a PopupGalleryEdit control’s edit value is formed when the RepositoryItemPopupGalleryEdit.EditValueType property is set to CSV.

In CSV mode, the editor’s edit value is a string concatenating selected gallery item values (each gallery item value is converted to a string during concatenation). Gallery item values are separated in the result string by a specific separator (RepositoryItemPopupGalleryEdit.SeparatorChar) and a space character.

To enable multiple item selection, see BaseGallery.ItemCheckMode.

To access selected items, use PopupGalleryEdit.CheckedItems or BaseGallery.GetCheckedItems.

See Also

ItemCheckMode

CheckedItems

CheckedValues

GetCheckedItems()

GalleryItem Class

GalleryItem Members

DevExpress.XtraBars.Ribbon Namespace