Class
FontGallery

Provides methods and properties for using a FontGallery.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class FontGallery : PopupGalleryBase<ThemeFontScheme>, INotifyPropertyChanged

Inheritance: objectControlBasePopupGalleryBasePopupGalleryBase<ThemeFontScheme>FontGallery

Implements: INotifyPropertyChanged

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

Constructors

FontGallery()

Initializes a new instance of the FontGallery class.

Declaration

cs-api-definition
public FontGallery()

Properties

BuiltInItems

Gets the built in items.

Declaration

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

Property Value

NamedObjects<ThemeFontScheme>

The built in items.

Overrides PopupGalleryBase<ThemeFontScheme>.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<ThemeFontScheme>.ConfirmDeleteMessage

CurrentItem

Gets or sets the current item.

Declaration

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

Property Value

ThemeFontScheme

The current item.

Overrides PopupGalleryBase<ThemeFontScheme>.CurrentItem

CustomItems

Gets the custom items.

Declaration

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

Property Value

NamedObjects<ThemeFontScheme>

The custom items.

Overrides PopupGalleryBase<ThemeFontScheme>.CustomItems

Methods

GalleryItemContentToListBoxItem(ThemeFontScheme)

Gets a ListBox item from a gallery item.

Declaration

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

Parameters

scheme

ThemeFontScheme

The scheme.

Returns

RadListBoxItem

The ListBox item.

Overrides PopupGalleryBase<ThemeFontScheme>.GalleryItemContentToListBoxItem(ThemeFontScheme)

ListBoxItemToGalleryItemContent(RadListBoxItem)

Gets a gallery item from a ListBox item.

Declaration

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

Parameters

item

RadListBoxItem

The list box item.

Returns

ThemeFontScheme

The gallery item.

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

ShowEditItemDialog(GalleryContentItem<ThemeFontScheme>)

Shows the edit item dialog.

Declaration

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

Parameters

contentItem

GalleryContentItem<ThemeFontScheme>

The content item.

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