C# Class Yaircc.ThemeFileNameEditor

Represents an open file dialog customised specifically for yaircc themes.
Inheritance: System.Drawing.Design.UITypeEditor
显示文件 Open project: rastating/yaircc

Public Methods

Method Description
EditValue ( System context, IServiceProvider provider, object value ) : object

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

GetEditStyle ( System context ) : UITypeEditorEditStyle

Gets the editor style used by the EditValue method.

ThemeFileNameEditor ( ) : System

Initialises a new instance of the ThemeFileNameEditor class.

Method Details

EditValue() public method

Edits the specified object's value using the editor style indicated by the GetEditStyle method.
public EditValue ( System context, IServiceProvider provider, object value ) : object
context System An ITypeDescriptorContext that can be used to gain additional context information.
provider IServiceProvider An IServiceProvider that this editor can use to obtain services.
value object The object to edit.
return object

GetEditStyle() public method

Gets the editor style used by the EditValue method.
public GetEditStyle ( System context ) : UITypeEditorEditStyle
context System An ITypeDescriptorContext that can be used to gain additional context information.
return UITypeEditorEditStyle

ThemeFileNameEditor() public method

Initialises a new instance of the ThemeFileNameEditor class.
public ThemeFileNameEditor ( ) : System
return System