Abstract class providing methods and properties for using Popup Gallery containing items of type T.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI.RibbonControls.Galleries
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Type Parameters:
TItem
The type T of gallery items.
Syntax:
public abstract class PopupGalleryBase<TItem> : PopupGalleryBase where TItem : class
Inheritance: objectControlBasePopupGalleryBasePopupGalleryBase<TItem>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the PopupGalleryBase<TItem> class.
protected PopupGalleryBase()
Properties
CurrentItem
TItem
Gets or sets the current item.
public TItem CurrentItem { get; set; }
The current item.
Methods
protected void AddGalleryItem(IEnumerable<TItem> items, string category)
Gets a ListBox item from a gallery item.
protected abstract RadListBoxItem GalleryItemContentToListBoxItem(TItem scheme)
The scheme.
Returns:The ListBox item.
Initializes this instance.
protected void Initialize()
protected abstract void InitializeGalleryItems()
Gets a gallery item from a ListBox item.
protected abstract TItem ListBoxItemToGalleryItemContent(RadListBoxItem item)
The list box item item.
Returns:TItem
The gallery item.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
protected virtual void OnSelectionChangedOverride()