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

Provides methods and properties for using ThemeGallery.

Definition

Constructors

Initializes a new instance of the ThemeGallery class.

C#
public ThemeGallery()

Properties

BuiltInItems

NamedObjects<DocumentTheme>

Gets the built in items.

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

The built in items.

Overrides: PopupGalleryBase<DocumentTheme>.BuiltInItems

Gets the message to confirm delete.

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

The message to confirm delete.

Overrides: PopupGalleryBase<DocumentTheme>.ConfirmDeleteMessage

CurrentItem

DocumentTheme

Gets or sets the current item.

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

The current item.

Overrides: PopupGalleryBase<DocumentTheme>.CurrentItem

CustomItems

NamedObjects<DocumentTheme>

Gets the custom items.

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

The custom items.

Overrides: PopupGalleryBase<DocumentTheme>.CustomItems

Methods

Gets a ListBox item from a gallery item.

C#
protected override RadListBoxItem GalleryItemContentToListBoxItem(DocumentTheme scheme)
Parameters:schemeDocumentTheme

The scheme.

Returns:

RadListBoxItem

The ListBox item.

Overrides: PopupGalleryBase<DocumentTheme>.GalleryItemContentToListBoxItem(DocumentTheme)

Gets a gallery item from a ListBox item.

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

The list box item.

Returns:

DocumentTheme

The gallery item.

Overrides: PopupGalleryBase<DocumentTheme>.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<DocumentTheme>.OnRadSpreadsheetChanged(RadSpreadsheet, RadSpreadsheet)

Shows the edit item dialog.

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

The content item.

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