ClassPopupGalleryBase<T>
Abstract class providing methods and properties for using Popup Gallery containing items of type T.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Type Parameters:
T
The type T of gallery items.
Syntax:
public abstract class PopupGalleryBase<T> : PopupGalleryBase, INotifyPropertyChanged where T : NamedObjectBase
Inheritance: objectControlBasePopupGalleryBasePopupGalleryBase<T>
Derived Classes:
Implements:
Inherited Members
Constructors
PopupGalleryBase()
Initializes a new instance of the PopupGalleryBase<T> class.
Declaration
protected PopupGalleryBase()
Properties
BuiltInItems
Gets the built in items.
Declaration
protected abstract NamedObjects<T> BuiltInItems { get; }
Property Value
NamedObjects<T>
The built in items.
ConfirmDeleteMessage
Gets the message to confirm delete.
Declaration
protected abstract string ConfirmDeleteMessage { get; }
Property Value
The message to confirm delete.
CurrentItem
Gets or sets the current item.
Declaration
protected abstract T CurrentItem { get; set; }
Property Value
T
The current item.
CustomItems
Gets the custom items.
Declaration
protected abstract NamedObjects<T> CustomItems { get; }
Property Value
NamedObjects<T>
The custom items.
DeleteCommand
Gets or sets the delete command.
Declaration
public ICommand DeleteCommand { get; set; }
Property Value
The delete command.
EditCommand
Gets or sets the edit command.
Declaration
public ICommand EditCommand { get; set; }
Property Value
The edit command.
Methods
GalleryItemContentToListBoxItem(T)
Gets a ListBox item from a gallery item.
Declaration
protected abstract RadListBoxItem GalleryItemContentToListBoxItem(T scheme)
Parameters
scheme
T
The scheme.
Returns
The ListBox item.
ListBoxItemToGalleryItemContent(RadListBoxItem)
Gets a gallery item from a ListBox item.
Declaration
protected abstract T ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters
item
The list box item item.
Returns
T
The gallery item.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnRadSpreadsheetChanged(RadSpreadsheet, RadSpreadsheet)
Called when RadSpreadsheet is changed.
Declaration
protected override void OnRadSpreadsheetChanged(RadSpreadsheet oldEditor, RadSpreadsheet newEditor)
Parameters
oldEditor
The old editor.
newEditor
The new editor.
Overrides
ShowEditItemDialog(GalleryContentItem<T>)
Shows the edit item dialog.
Declaration
protected abstract void ShowEditItemDialog(GalleryContentItem<T> contentItem)
Parameters
contentItem
The content item.
ThemesManagerCurrentItemChanged()
Occurs when the current item of the themes manager has changed.
Declaration
protected void ThemesManagerCurrentItemChanged()
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements