Class GalleryContentItem<T>
Provides methods and properties for using GalleryContentItem with some content of type T.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.Galleries
Assembly: Telerik.Windows.Controls.RichTextBoxUI.dll
Syntax
public class GalleryContentItem<T> : 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.String
category
The category. |
Properties
Category
Gets the category.
Declaration
public string Category { get; }
Property Value
System.String
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.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |