ColorGallery
Provides methods and properties for using ColorGallery.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class ColorGallery : PopupGalleryBase<ThemeColorScheme>, INotifyPropertyChanged
Inheritance: objectControlBasePopupGalleryBasePopupGalleryBase<ThemeColorScheme>ColorGallery
Implements:
Inherited Members
Constructors
Initializes a new instance of the ColorGallery class.
public ColorGallery()
Properties
BuiltInItems
NamedObjects<ThemeColorScheme>
Gets the built in items.
protected override NamedObjects<ThemeColorScheme> 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
ThemeColorScheme
Gets or sets the current item.
protected override ThemeColorScheme CurrentItem { get; set; }
The current item.
Overrides:
CustomItems
NamedObjects<ThemeColorScheme>
Gets the custom items.
protected override NamedObjects<ThemeColorScheme> CustomItems { get; }
The custom items.
Overrides:
Methods
Gets a ListBox item from a gallery item.
protected override RadListBoxItem GalleryItemContentToListBoxItem(ThemeColorScheme scheme)
The scheme.
Returns:The ListBox item.
Overrides:
ListBoxItemToGalleryItemContent(RadListBoxItem)
ThemeColorScheme
Gets a gallery item from a ListBox item.
protected override ThemeColorScheme ListBoxItemToGalleryItemContent(RadListBoxItem item)
The list box item item.
Returns:ThemeColorScheme
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<ThemeColorScheme> contentItem)
The content item.
Overrides: