ClassGalleryContentItem<T>
Class
Provides methods and properties for using GalleryContentItem with some content of type T.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.Galleries
Assembly:Telerik.Windows.Controls.RichTextBox.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
Inheritance: objectGalleryContentItem<T>
Implements:
Constructors
GalleryContentItem(T, string)
Initializes a new instance of the GalleryContentItem<T> class.
Declaration
cs-api-definition
public GalleryContentItem(T content, string category)
Parameters
content
T
The content.
category
The category.
Properties
Category
Gets the category.
Declaration
cs-api-definition
public string Category { get; }
Property Value
The category of the gallery item.
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.