New to Telerik UI for WPFStart a free 30-day trial

Abstract class providing methods and properties for using Popup Gallery containing items of type T.

Definition

Constructors

Initializes a new instance of the PopupGalleryBase<TItem> class.

C#
protected PopupGalleryBase()

Properties

Gets or sets the current item.

C#
public TItem CurrentItem { get; set; }
Property Value:

The current item.

Methods

C#
protected void AddGalleryItem(IEnumerable<TItem> items, string category)
Parameters:itemsIEnumerable<TItem>categorystring
C#
protected void AddGalleryItem(TItem item, string category)
Parameters:itemTItemcategorystring

Gets a ListBox item from a gallery item.

C#
protected abstract RadListBoxItem GalleryItemContentToListBoxItem(TItem scheme)
Parameters:schemeTItem

The scheme.

Returns:

RadListBoxItem

The ListBox item.

Initializes this instance.

C#
protected void Initialize()
C#
protected abstract void InitializeGalleryItems()

Gets a gallery item from a ListBox item.

C#
protected abstract TItem ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters:itemRadListBoxItem

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 .

C#
public override void OnApplyTemplate()
C#
protected virtual void OnSelectionChangedOverride()