ClassGalleryContentItem<T>
Class
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:
cs-api-definition
public class GalleryContentItem<T> : IGalleryItem where T : NamedObjectBase
Inheritance: objectGalleryContentItem<T>
Implements:
Constructors
GalleryContentItem(T, GalleryItemCategory)
Initializes a new instance of the GalleryContentItem<T> class.
Declaration
cs-api-definition
public GalleryContentItem(T content, GalleryItemCategory category)
Parameters
content
T
The content.
category
The category.
Properties
Category
Gets the category.
Declaration
cs-api-definition
public GalleryItemCategory Category { get; }
Property Value
The category of the gallery item as GalleryItemCategory.
Implements
Content
Gets the content.
Declaration
cs-api-definition
public T Content { get; }
Property Value
T
The content of type T.
Methods
GetHashCode()
Serves as a hash function for a particular type.