[]
        
(Showing Draft Content)

C1.Win.Input.Pickers.C1FontPicker

C1FontPicker Class

Represents a Windows font picker control supporting additional visual styles.

Namespace: C1.Win.Input.Pickers
Assembly: C1.Win.Input.Pickers.8.dll
Syntax
[ToolboxBitmap(typeof(C1FontPicker), "C1FontPicker.png")]
public class C1FontPicker : C1PickerBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportUia, ISupportInitialize, IDropDownControlBase, IDropDownOwner, ISupportUiaContainer, IUiaExpandCollapseProvider

Constructors

Name Description
C1FontPicker()

Initializes a new instance of the C1FontPicker class.

Properties

Name Description
DropDownWidth

Gets or set the width of the drop down form.

Font
InvalidFontFamily

Gets or sets a value that determines whether the user can set an incorrect string as SelectedFontFamily or not and provides additional settings for processing incorrect input.

IsEditorValid

Gets the validity status of the picker editor.

ItemFontSize

Gets or sets the em-size of the font used for C1FontPicker DropDownForm items.

SelectedFontFamily

Gets or sets currently selected font family name.

Styles

Gets or sets the C1FontPicker styles.

Text

Methods

Name Description
ApplyStyle()

Applies the style to control view.

CreateDropDownForm()

Creates the drop down form.

Dispose(bool)

Releases the unmanaged resources used by the C1DropDownControlBase control.

GetDropDownItem(UiaItem)

Gets the UiaItem from the drop down part of this C1DropDownControlBase control.

InitilizeView(IDropDownControlViewBase)

Initializes a view of the C1DropDownControlBase control.

OnDpiChangedAfterParent(EventArgs)

Raises the DpiChangedAfterParent event.

OnDropDownOpened(EventArgs)

Raises the DropDownOpened event.

OnDropDownOpening(CancelEventArgs)

Raises the DropDownOpening event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnModalButtonClick(EventArgs)

Raises the ModalButtonClick event.

OnSelectedFontFamilyChanged(EventArgs)

Raises the SelectedFontFamilyChanged event.

OnUpDownButtonClick(UpDownButtonClickEventArgs)

Raises the UpDownButtonClick event.

OnValidated(EventArgs)

Raises the Validated event.

ResetInvalidFontFamily()

Restores the default value of the InvalidFontFamily property.

ShouldSerializeInvalidFontFamily()

Specifies whether to save the value of the InvalidFontFamily property.

SpinDown()

Performs spin down to select next item.

SpinUp()

Performs spin up to select previous item.

Events

Name Description
SelectedFontFamilyChanged

Fires when the SelectedFontFamily property changes.