menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridFontInfoEditor - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridFontInfoEditor

    Implements a user interface to select and configure a GridFontInfo object.

    Inheritance
    System.Object
    GridFontInfoEditor
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridFontInfoEditor : UITypeEditor

    Constructors

    GridFontInfoEditor()

    Initializes the new instance of the GridFontInfoEditor class.

    Declaration
    public GridFontInfoEditor()

    Methods

    EditValue(ITypeDescriptorContext, IServiceProvider, Object)

    Edits the value of the specified object using the editor style indicated by System.Drawing.Design.FontEditor.GetEditStyle(System.ComponentModel.ITypeDescriptorContext).

    Declaration
    public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.

    System.IServiceProvider provider

    An System.IServiceProvider that this editor can use to obtain services.

    System.Object value

    The object to edit.

    Returns
    Type Description
    System.Object

    The new value of the object. If the value of the object has not changed, this should return the same object that was passed to it.

    GetEditStyle(ITypeDescriptorContext)

    Gets the editor style used by the System.Drawing.Design.FontEditor.EditValue(System.ComponentModel.ITypeDescriptorContext,System.IServiceProvider,System.Object) method.

    Declaration
    public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context

    An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.

    Returns
    Type Description
    System.Drawing.Design.UITypeEditorEditStyle

    A System.Drawing.Design.UITypeEditorEditStyle value that indicates the style of editor used by System.Drawing.Design.FontEditor.EditValue(System.ComponentModel.ITypeDescriptorContext,System.IServiceProvider,System.Object).

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved