Version

UltraFontNameEditor Class

Infragistics' UltraFontNameEditor control
Syntax
'Declaration
 
Public Class UltraFontNameEditor 
   Inherits UltraComboEditor
   Implements Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IImageListProvider, Infragistics.Win.IProvidesEmbeddableEditor, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation 
public class UltraFontNameEditor : UltraComboEditor, Infragistics.Win.AppStyling.ISupportAppStyling, Infragistics.Win.IImageListProvider, Infragistics.Win.IProvidesEmbeddableEditor, Infragistics.Win.IUltraControl, Infragistics.Win.IUltraControlElement, Infragistics.Win.Touch.ISupportTouchMetrics, Infragistics.Win.UIAutomation.IProvideUIAutomation  
Remarks

The UltraFontNameEditor control provides a ComboBox-like control whose list is pre-populated with the names of all the fonts on the system that are supported by the .NET runtime. Furthermore, the control provides these additional features:

  • Each item in the control's Items collection has its own Infragistics.Win.AppearanceBase object, which means that each item can have a distinct font, foreground color, background color, and image. (see ItemAppearance)
  • The edit portion also has its own Infragistics.Win.AppearanceBase object, and as such can have a different font, foreground color, background color, and image, than any/all of the items. (see UltraComboEditor.Appearance)
  • The dropdown button also has its own Infragistics.Win.AppearanceBase object, and as such can have its own foreground color and background color. (see ButtonAppearance)
  • MRU list functionality (see MRUList, HasMRUList, MaxMRUItems)
  • Automatic word completion (see AutoComplete)
  • Sorting (see SortStyle)
  • The ability to change the side on which the dropdown button and dropdown list appear (see DropDownButtonAlignment, DropDownListAlignment)
  • The ability to change whether (and how) the dropdown button is displayed (see DropDownButtonDisplayStyle)
  • The ability to change the width of the dropdown list (see DropDownListWidth)
  • The look and feel of Office2003, OfficeXP and Office2000 (see UltraComboEditor.DisplayStyle)
  • WindowsXP theme support (see Infragistics.Win.UltraControlBase.SupportThemes)
  • ImageList and transparent image support (see UltraComboEditor.ImageList, UltraComboEditor.ImageTransparentColor
  • The ability to change whether the names of the fonts are displayed in the font that they represent (see ShowFontNamesInFont)
  • The ability to change whether the font type indicator is displayed (see ShowFontTypeIndicator)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also