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

Provides methods and properties for using a FontGallery.

Definition

Constructors

Initializes a new instance of the FontGallery class.

C#
public FontGallery()

Properties

BuiltInItems

NamedObjects<ThemeFontScheme>

Gets the built in items.

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

The built in items.

Overrides: PopupGalleryBase<ThemeFontScheme>.BuiltInItems

Gets the message to confirm delete.

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

The message to confirm delete.

Overrides: PopupGalleryBase<ThemeFontScheme>.ConfirmDeleteMessage

CurrentItem

ThemeFontScheme

Gets or sets the current item.

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

The current item.

Overrides: PopupGalleryBase<ThemeFontScheme>.CurrentItem

CustomItems

NamedObjects<ThemeFontScheme>

Gets the custom items.

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

The custom items.

Overrides: PopupGalleryBase<ThemeFontScheme>.CustomItems

Methods

Gets a ListBox item from a gallery item.

C#
protected override RadListBoxItem GalleryItemContentToListBoxItem(ThemeFontScheme scheme)
Parameters:schemeThemeFontScheme

The scheme.

Returns:

RadListBoxItem

The ListBox item.

Overrides: PopupGalleryBase<ThemeFontScheme>.GalleryItemContentToListBoxItem(ThemeFontScheme)

Gets a gallery item from a ListBox item.

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

The list box item.

Returns:

ThemeFontScheme

The gallery item.

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

Shows the edit item dialog.

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

The content item.

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