New to Telerik UI for WPFStart a free 30-day trial

Provides methods and properties for using ColorGallery.

Definition

Constructors

Initializes a new instance of the ColorGallery class.

C#
public ColorGallery()

Properties

BuiltInItems

NamedObjects<ThemeColorScheme>

Gets the built in items.

C#
protected override NamedObjects<ThemeColorScheme> BuiltInItems { get; }
Property Value:

The built in items.

Overrides: PopupGalleryBase<ThemeColorScheme>.BuiltInItems

Gets the message to confirm delete.

C#
protected override string ConfirmDeleteMessage { get; }
Property Value:

The message to confirm delete.

Overrides: PopupGalleryBase<ThemeColorScheme>.ConfirmDeleteMessage

CurrentItem

ThemeColorScheme

Gets or sets the current item.

C#
protected override ThemeColorScheme CurrentItem { get; set; }
Property Value:

The current item.

Overrides: PopupGalleryBase<ThemeColorScheme>.CurrentItem

CustomItems

NamedObjects<ThemeColorScheme>

Gets the custom items.

C#
protected override NamedObjects<ThemeColorScheme> CustomItems { get; }
Property Value:

The custom items.

Overrides: PopupGalleryBase<ThemeColorScheme>.CustomItems

Methods

Gets a ListBox item from a gallery item.

C#
protected override RadListBoxItem GalleryItemContentToListBoxItem(ThemeColorScheme scheme)
Parameters:schemeThemeColorScheme

The scheme.

Returns:

RadListBoxItem

The ListBox item.

Overrides: PopupGalleryBase<ThemeColorScheme>.GalleryItemContentToListBoxItem(ThemeColorScheme)

Gets a gallery item from a ListBox item.

C#
protected override ThemeColorScheme ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters:itemRadListBoxItem

The list box item item.

Returns:

ThemeColorScheme

The gallery item.

Overrides: PopupGalleryBase<ThemeColorScheme>.ListBoxItemToGalleryItemContent(RadListBoxItem)

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when RadSpreadsheet is changed.

C#
protected override void OnRadSpreadsheetChanged(RadSpreadsheet oldEditor, RadSpreadsheet newEditor)
Parameters:oldEditorRadSpreadsheet

The old editor.

newEditorRadSpreadsheet

The new editor.

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

Shows the edit item dialog.

C#
protected override void ShowEditItemDialog(GalleryContentItem<ThemeColorScheme> contentItem)
Parameters:contentItemGalleryContentItem<ThemeColorScheme>

The content item.

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