Intersoft WebGrid Documentation
BaseEditorType Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridCustomEditorBehavior Class : BaseEditorType Property






Specifies the base editor type of the custom editor.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.XmlSerializableAttribute()>
<DescriptionAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
Public Property BaseEditorType As BaseEditorType
Visual Basic (Usage)Copy Code
Dim instance As WebGridCustomEditorBehavior
Dim value As BaseEditorType
 
instance.BaseEditorType = value
 
value = instance.BaseEditorType
C# 
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public BaseEditorType BaseEditorType {get; set;}
Delphi 
public read-write property BaseEditorType: BaseEditorType; 
JScript 
NotifyParentPropertyAttribute()
ISNet.Serialization.XmlSerializableAttribute()
DescriptionAttribute()
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
public function get,set BaseEditorType : BaseEditorType
Managed Extensions for C++ 
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public: __property BaseEditorType get_BaseEditorType();
public: __property void set_BaseEditorType( 
   BaseEditorType value
);
C++/CLI 
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[DescriptionAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
public:
property BaseEditorType BaseEditorType {
   BaseEditorType get();
   void set (    BaseEditorType value);
}

Remarks

The default value is TextBox. Most of scenarios will use Textbox as the base editor control, such as NumericUpDown or Calculator. In this case, many of the base editing functionality is automatically handled by internal custom editor API. For more advanced scenarios, you can "draw" your own base editor type by setting this property to Custom. In that case, you would need to completely implement the GetBaseEditorElement interface and handle the base editor creation manually.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.