menu

WinForms

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

    Show / Hide Table of Contents

    Class TabStyleEditor

    TabStyleEditor class provides a base class, that can be used to design value editors, that can provide a user interface (UI) for representing and editing the values of objects of the supported data types.

    Inheritance
    System.Object
    TabStyleEditor
    Namespace: Syncfusion.Windows.Forms.Tools.Design
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TabStyleEditor : UITypeEditor

    Constructors

    TabStyleEditor()

    Constructor of the TabStyleEditor.

    Declaration
    public TabStyleEditor()

    Methods

    EditValue(ITypeDescriptorContext, IServiceProvider, Object)

    Edits the specified object's value using the editor style indicated by the UITypeEditor.GetEditStyle() method.

    Declaration
    public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
    Parameters
    Type Name Description
    System.ComponentModel.ITypeDescriptorContext context
    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 it was passed.

    GetEditStyle(ITypeDescriptorContext)

    Gets the editor style used by the EditValue 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 UITypeEditor.EditStyle value that indicates the style of editor used by the System.Drawing.Design.UITypeEditor.EditValue(System.IServiceProvider,System.Object) method. If the System.Drawing.Design.UITypeEditor does not support this method, then UITypeEditor.GetEditStyle() will return UITypeEditorEditStyle.None.

    RemoveInvalidTypes(ArrayList)

    Remove the invalid renderer types.

    Declaration
    protected static void RemoveInvalidTypes(ArrayList rendererTypes)
    Parameters
    Type Name Description
    System.Collections.ArrayList rendererTypes

    The ArrayList.

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