Class TreeNodeAdvBaseStylesEditor
Represents the BaseStyleEditor of TreeNodeAdv.
Inheritance
System.Object
TreeNodeAdvBaseStylesEditor
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TreeNodeAdvBaseStylesEditor : UITypeEditor
Constructors
TreeNodeAdvBaseStylesEditor()
Declaration
public TreeNodeAdvBaseStylesEditor()
Methods
EditValue(ITypeDescriptorContext, IServiceProvider, Object)
Overridden. Edits the specified object's value using the editor style indicated by the 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)
Overridden. Gets the editor style used by the CustomControlEditor.EditValue method.
Declaration
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | Provides contextual information about a component, such as its container and property descriptor. |
Returns
Type |
---|
System.Drawing.Design.UITypeEditorEditStyle |