Class FontGallery
Provides methods and properties for using a FontGallery.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class FontGallery : PopupGalleryBase<ThemeFontScheme>, INotifyPropertyChanged
Constructors
FontGallery()
Properties
BuiltInItems
Gets the built in items.
Declaration
protected override NamedObjects<ThemeFontScheme> BuiltInItems { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeFontScheme>
The built in items. |
Overrides
ConfirmDeleteMessage
Gets the message to confirm delete.
Declaration
protected override string ConfirmDeleteMessage { get; }
Property Value
System.String
The message to confirm delete. |
Overrides
CurrentItem
Gets or sets the current item.
Declaration
protected override ThemeFontScheme CurrentItem { get; set; }
Property Value
Telerik.Documents.Common.Model.ThemeFontScheme
The current item. |
Overrides
CustomItems
Gets the custom items.
Declaration
protected override NamedObjects<ThemeFontScheme> CustomItems { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Core.NamedObjects<Telerik.Documents.Common.Model.ThemeFontScheme>
The custom items. |
Overrides
Methods
GalleryItemContentToListBoxItem(ThemeFontScheme)
Gets a ListBox item from a gallery item.
Declaration
protected override RadListBoxItem GalleryItemContentToListBoxItem(ThemeFontScheme scheme)
Parameters
Telerik.Documents.Common.Model.ThemeFontScheme
scheme
The scheme. |
Returns
RadListBoxItem
The ListBox item. |
Overrides
ListBoxItemToGalleryItemContent(RadListBoxItem)
Gets a gallery item from a ListBox item.
Declaration
protected override ThemeFontScheme ListBoxItemToGalleryItemContent(RadListBoxItem item)
Parameters
RadListBoxItem
item
The list box item. |
Returns
Telerik.Documents.Common.Model.ThemeFontScheme
The gallery item. |
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
OnRadSpreadsheetChanged(RadSpreadsheet, RadSpreadsheet)
Called when RadSpreadsheet is changed.
Declaration
protected override void OnRadSpreadsheetChanged(RadSpreadsheet oldEditor, RadSpreadsheet newEditor)
Parameters
RadSpreadsheet
oldEditor
The old editor. |
RadSpreadsheet
newEditor
The new editor. |
Overrides
ShowEditItemDialog(GalleryContentItem<ThemeFontScheme>)
Shows the edit item dialog.
Declaration
protected override void ShowEditItemDialog(GalleryContentItem<ThemeFontScheme> contentItem)
Parameters
GalleryContentItem<Telerik.Documents.Common.Model.ThemeFontScheme>
contentItem
The content item. |