ThemeGallery
Provides methods and properties for using ThemeGallery.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class ThemeGallery : PopupGalleryBase<DocumentTheme>, INotifyPropertyChanged
Inheritance: objectControlBasePopupGalleryBasePopupGalleryBase<DocumentTheme>ThemeGallery
Implements:
Inherited Members
Constructors
Initializes a new instance of the ThemeGallery class.
public ThemeGallery()
Properties
BuiltInItems
NamedObjects<DocumentTheme>
Gets the built in items.
protected override NamedObjects<DocumentTheme> BuiltInItems { get; }
The built in items.
Overrides:
Gets the message to confirm delete.
protected override string ConfirmDeleteMessage { get; }
The message to confirm delete.
Overrides:
CurrentItem
DocumentTheme
Gets or sets the current item.
protected override DocumentTheme CurrentItem { get; set; }
The current item.
Overrides:
CustomItems
NamedObjects<DocumentTheme>
Gets the custom items.
protected override NamedObjects<DocumentTheme> CustomItems { get; }
The custom items.
Overrides:
Methods
Gets a ListBox item from a gallery item.
protected override RadListBoxItem GalleryItemContentToListBoxItem(DocumentTheme scheme)
The scheme.
Returns:The ListBox item.
Overrides:
ListBoxItemToGalleryItemContent(RadListBoxItem)
DocumentTheme
Gets a gallery item from a ListBox item.
protected override DocumentTheme ListBoxItemToGalleryItemContent(RadListBoxItem item)
The list box item.
Returns:DocumentTheme
The gallery item.
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when RadSpreadsheet is changed.
protected override void OnRadSpreadsheetChanged(RadSpreadsheet oldEditor, RadSpreadsheet newEditor)
The old editor.
newEditorRadSpreadsheetThe new editor.
Overrides:
Shows the edit item dialog.
protected override void ShowEditItemDialog(GalleryContentItem<DocumentTheme> contentItem)
The content item.
Overrides: