Class PopupGalleryBase<T>
Abstract class providing methods and properties for using Popup Gallery containing items of type T.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class PopupGalleryBase<T> : PopupGalleryBase, INotifyPropertyChanged where T : NamedObjectBase
Type Parameters
T
The type T of gallery items. |
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
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<T>
The built in items. |
ConfirmDeleteMessage
Gets the message to confirm delete.
Declaration
protected abstract string ConfirmDeleteMessage { get; }
Property Value
System.String
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
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<T>
The custom items. |
DeleteCommand
Gets or sets the delete command.
Declaration
public ICommand DeleteCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The delete command. |
EditCommand
Gets or sets the edit command.
Declaration
public ICommand EditCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The edit command. |
Methods
GalleryItemContentToListBoxItem(T)
Gets a ListBox item from a gallery item.
Declaration
protected abstract RadListBoxItem GalleryItemContentToListBoxItem(T scheme)
Parameters
T
scheme
The scheme. |
Returns
RadListBoxItem
The ListBox item. |
Initialize()
Initializes this instance.
Declaration
protected void Initialize()
ListBoxItemToGalleryItemContent(RadListBoxItem)
Gets a gallery item from a ListBox item.
Declaration
protected abstract T ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters
RadListBoxItem
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 System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnRadSpreadsheetChanged(RadSpreadsheet, RadSpreadsheet)
Called when RadSpreadsheet is changed.
Declaration
protected override void OnRadSpreadsheetChanged(RadSpreadsheet oldEditor, RadSpreadsheet newEditor)
Parameters
RadSpreadsheet
oldEditor
The old editor. |
RadSpreadsheet
newEditor
The new editor. |
Overrides
ShowEditItemDialog(GalleryContentItem<T>)
Shows the edit item dialog.
Declaration
protected abstract void ShowEditItemDialog(GalleryContentItem<T> contentItem)
Parameters
GalleryContentItem<T>
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 Type
System.ComponentModel.PropertyChangedEventHandler
|