ClassColorGallery
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
ColorGallery()
Initializes a new instance of the ColorGallery class.
Declaration
public ColorGallery()
Properties
BuiltInItems
Gets the built in items.
Declaration
protected override NamedObjects<ThemeColorScheme> BuiltInItems { get; }
Property Value
NamedObjects<ThemeColorScheme>
The built in items.
Overrides
ConfirmDeleteMessage
Gets the message to confirm delete.
Declaration
protected override string ConfirmDeleteMessage { get; }
Property Value
The message to confirm delete.
Overrides
CurrentItem
Gets or sets the current item.
Declaration
protected override ThemeColorScheme CurrentItem { get; set; }
Property Value
ThemeColorScheme
The current item.
Overrides
CustomItems
Gets the custom items.
Declaration
protected override NamedObjects<ThemeColorScheme> CustomItems { get; }
Property Value
NamedObjects<ThemeColorScheme>
The custom items.
Overrides
Methods
GalleryItemContentToListBoxItem(ThemeColorScheme)
Gets a ListBox item from a gallery item.
Declaration
protected override RadListBoxItem GalleryItemContentToListBoxItem(ThemeColorScheme scheme)
Parameters
scheme
ThemeColorScheme
The scheme.
Returns
The ListBox item.
Overrides
ListBoxItemToGalleryItemContent(RadListBoxItem)
Gets a gallery item from a ListBox item.
Declaration
protected override ThemeColorScheme ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters
item
The list box item item.
Returns
ThemeColorScheme
The gallery item.
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
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<ThemeColorScheme>)
Shows the edit item dialog.
Declaration
protected override void ShowEditItemDialog(GalleryContentItem<ThemeColorScheme> contentItem)
Parameters
contentItem
GalleryContentItem<ThemeColorScheme>
The content item.
Overrides