WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FillStyleValueEditor - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FillStyleValueEditor

    Property Editor for FillStyle type.

    Inheritance
    System.Object
    FillStyleValueEditor
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class FillStyleValueEditor : UITypeEditor

    Constructors

    FillStyleValueEditor()

    Declaration
    public FillStyleValueEditor()

    Fields

    c_strBACKGROUND_STYLE

    Declaration
    protected const string c_strBACKGROUND_STYLE = "BackgroundStyle"
    Field Value
    Type Description
    System.String

    c_strFILL_STYLE

    Declaration
    protected const string c_strFILL_STYLE = "FillStyle"
    Field Value
    Type Description
    System.String

    Methods

    EditValue(ITypeDescriptorContext, IServiceProvider, Object)

    Edits the specified object's value using the editor style indicated by the System.Drawing.Design.UITypeEditor.GetEditStyle method.

    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 it was passed.

    GetEditStyle(ITypeDescriptorContext)

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

    SetEditorProps(FillStyle, FillStyleDialog)

    Sets the editor properties.

    Declaration
    protected virtual void SetEditorProps(FillStyle editingInstance, FillStyleDialog editor)
    Parameters
    Type Name Description
    FillStyle editingInstance

    The editing instance.

    FillStyleDialog editor

    The editor.

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