Class GalleryContentItem<T>
Provides methods and properties for using GalleryContentItem with some content of type T.
Inheritance
Namespace: Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.Galleries
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class GalleryContentItem<T> : Object, IGalleryItem
Type Parameters
T
The type T of the content, which must be inheritor of NameObjectBase class. |
Constructors
GalleryContentItem(T, String)
Initializes a new instance of the GalleryContentItem<T> class.
Declaration
public GalleryContentItem(T content, string category)
Parameters
T
content
The content. |
System. The category. |
Properties
Category
Gets the category.
Declaration
public string Category { get; }
Property Value
System. The category of the gallery item. |
Content
Gets the content.
Declaration
public T Content { get; }
Property Value
T
The content of type T. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. true if the specified System. |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |