Provides methods and properties for using GalleryContentItem with some content of type T.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Type Parameters:
T
The type T of the content, which must be inheritor of NameObjectBase class.
Syntax:
C#
public class GalleryContentItem<T> : IGalleryItem where T : NamedObjectBase
Inheritance: objectGalleryContentItem<T>
Implements:
Constructors
Initializes a new instance of the GalleryContentItem<T> class.
C#
public GalleryContentItem(T content, GalleryItemCategory category)
The content.
categoryGalleryItemCategoryThe category.
Properties
Gets the category.
C#
public GalleryItemCategory Category { get; }
The category of the gallery item as GalleryItemCategory.
Implements:
Gets the content.
C#
public T Content { get; }
The content of type T.