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:
C#
public class GalleryContentItem<T> : IGalleryItem
Inheritance: objectGalleryContentItem<T>
Implements:
Constructors
Initializes a new instance of the GalleryContentItem<T> class.
C#
public GalleryContentItem(T content, string category)
The content.
categorystringThe category.
Properties
Gets the category.
C#
public string Category { get; }
The category of the gallery item.
Gets the content.
C#
public T Content { get; }
The content of type T.