Class
ColorGallery

Provides methods and properties for using ColorGallery.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class ColorGallery : PopupGalleryBase<ThemeColorScheme>, INotifyPropertyChanged

Inheritance: objectControlBasePopupGalleryBasePopupGalleryBase<ThemeColorScheme>ColorGallery

Implements: INotifyPropertyChanged

Inherited Members PopupGalleryBase<ThemeColorScheme>.ThemesManagerCurrentItemChanged()PopupGalleryBase<ThemeColorScheme>.Initialize()PopupGalleryBase<ThemeColorScheme>.OnApplyTemplate()PopupGalleryBase<ThemeColorScheme>.EditCommandPopupGalleryBase<ThemeColorScheme>.DeleteCommandPopupGalleryBase<ThemeColorScheme>.PropertyChangedPopupGalleryBase.PopupContentWidthPropertyPopupGalleryBase.IsParentDropDownOpenedPropertyPopupGalleryBase.RadSpreadsheetPropertyPopupGalleryBase.GalleryHeaderItemStylePropertyPopupGalleryBase.GalleryContentItemStylePropertyPopupGalleryBase.PopupContentWidthPopupGalleryBase.IsParentDropDownOpenedPopupGalleryBase.RadSpreadsheetPopupGalleryBase.GalleryHeaderItemStylePopupGalleryBase.GalleryContentItemStyleControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

ColorGallery()

Initializes a new instance of the ColorGallery class.

Declaration

cs-api-definition
public ColorGallery()

Properties

BuiltInItems

Gets the built in items.

Declaration

cs-api-definition
protected override NamedObjects<ThemeColorScheme> BuiltInItems { get; }

Property Value

NamedObjects<ThemeColorScheme>

The built in items.

Overrides PopupGalleryBase<ThemeColorScheme>.BuiltInItems

ConfirmDeleteMessage

Gets the message to confirm delete.

Declaration

cs-api-definition
protected override string ConfirmDeleteMessage { get; }

Property Value

string

The message to confirm delete.

Overrides PopupGalleryBase<ThemeColorScheme>.ConfirmDeleteMessage

CurrentItem

Gets or sets the current item.

Declaration

cs-api-definition
protected override ThemeColorScheme CurrentItem { get; set; }

Property Value

ThemeColorScheme

The current item.

Overrides PopupGalleryBase<ThemeColorScheme>.CurrentItem

CustomItems

Gets the custom items.

Declaration

cs-api-definition
protected override NamedObjects<ThemeColorScheme> CustomItems { get; }

Property Value

NamedObjects<ThemeColorScheme>

The custom items.

Overrides PopupGalleryBase<ThemeColorScheme>.CustomItems

Methods

GalleryItemContentToListBoxItem(ThemeColorScheme)

Gets a ListBox item from a gallery item.

Declaration

cs-api-definition
protected override RadListBoxItem GalleryItemContentToListBoxItem(ThemeColorScheme scheme)

Parameters

scheme

ThemeColorScheme

The scheme.

Returns

RadListBoxItem

The ListBox item.

Overrides PopupGalleryBase<ThemeColorScheme>.GalleryItemContentToListBoxItem(ThemeColorScheme)

ListBoxItemToGalleryItemContent(RadListBoxItem)

Gets a gallery item from a ListBox item.

Declaration

cs-api-definition
protected override ThemeColorScheme ListBoxItemToGalleryItemContent(RadListBoxItem item)

Parameters

item

RadListBoxItem

The list box item item.

Returns

ThemeColorScheme

The gallery item.

Overrides PopupGalleryBase<ThemeColorScheme>.ListBoxItemToGalleryItemContent(RadListBoxItem)

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnRadSpreadsheetChanged(RadSpreadsheet, RadSpreadsheet)

Called when RadSpreadsheet is changed.

Declaration

cs-api-definition
protected override void OnRadSpreadsheetChanged(RadSpreadsheet oldEditor, RadSpreadsheet newEditor)

Parameters

oldEditor

RadSpreadsheet

The old editor.

newEditor

RadSpreadsheet

The new editor.

Overrides PopupGalleryBase<ThemeColorScheme>.OnRadSpreadsheetChanged(RadSpreadsheet, RadSpreadsheet)

ShowEditItemDialog(GalleryContentItem<ThemeColorScheme>)

Shows the edit item dialog.

Declaration

cs-api-definition
protected override void ShowEditItemDialog(GalleryContentItem<ThemeColorScheme> contentItem)

Parameters

contentItem

GalleryContentItem<ThemeColorScheme>

The content item.

Overrides PopupGalleryBase<ThemeColorScheme>.ShowEditItemDialog(GalleryContentItem<ThemeColorScheme>)