Class RadFontDropDownList
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Editors")]
public class RadFontDropDownList : RadPopupEditor, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadFontDropDownList()
Declaration
public RadFontDropDownList()
Properties
AssociatedControl
Declaration
public override RadPopupContainer AssociatedControl { get; }
Property Value
RadPopupContainer
|
Overrides
FontListView
This property returns the underlying RadListView.
Declaration
public RadListView FontListView { get; }
Property Value
RadListView
|
PreviewFont
Gets the hovered font when the drop down is opened.
Declaration
public string PreviewFont { get; }
Property Value
System.String
|
RecentlyUsedItemsCount
This property controls the number of items displayed in the Recently Used Fonts group.
Declaration
public int RecentlyUsedItemsCount { get; set; }
Property Value
System.Int32
|
SelectedFont
This property gets or sets the selected font.
Declaration
public string SelectedFont { get; set; }
Property Value
System.String
|
SelectOnHover
Enable or disables the preview font functionality.
Declaration
public bool SelectOnHover { get; set; }
Property Value
System.Boolean
|
ShowRecentlyUsedFonts
This property shows/hides the Recently Used Fonts group.
Declaration
public bool ShowRecentlyUsedFonts { get; set; }
Property Value
System.Boolean
|
ThemeClassName
Declaration
public override string ThemeClassName { get; }
Property Value
System.String
|
Overrides
Methods
AddFont(FontFamily)
Declaration
public virtual void AddFont(FontFamily fontFamily)
Parameters
System.Drawing.FontFamily
fontFamily
|
AddFont(String)
Declaration
public virtual void AddFont(string fontFamilyName)
Parameters
System.String
fontFamilyName
|
CreateElement()
Declaration
protected override RadPopupEditorElement CreateElement()
Returns
RadPopupEditorElement
|
Overrides
RemoveFont(FontFamily)
Declaration
public virtual void RemoveFont(FontFamily fontFamily)
Parameters
System.Drawing.FontFamily
fontFamily
|
RemoveFont(String)
Declaration
public virtual void RemoveFont(string fontFamilyName)
Parameters
System.String
fontFamilyName
|
SetAssociatedControlRuntime(RadPopupContainer)
Declaration
public override void SetAssociatedControlRuntime(RadPopupContainer associatedControl)
Parameters
RadPopupContainer
associatedControl
|
Overrides
Events
PreviewFontChanged
Fires when the hovered font is changed.
Declaration
public event SelectedFontEventHandler PreviewFontChanged
Event Type
SelectedFontEventHandler
|
SelectedFontChanged
Fires when the selected font is changed.
Declaration
public event SelectedFontEventHandler SelectedFontChanged
Event Type
SelectedFontEventHandler
|