Intersoft WebGrid Documentation
ControlType Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridCustomEditor Class : ControlType Property






Specifies the type of the custom editor, whether Server Control or DHTML Client Control.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<DescriptionAttribute("Gets or sets the control type for this custom editor.")>
<ISNet.Serialization.XmlSerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
Public Property ControlType As ControlType
Visual Basic (Usage)Copy Code
Dim instance As WebGridCustomEditor
Dim value As ControlType
 
instance.ControlType = value
 
value = instance.ControlType
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Gets or sets the control type for this custom editor.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public ControlType ControlType {get; set;}
Delphi 
public read-write property ControlType: ControlType; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
DescriptionAttribute("Gets or sets the control type for this custom editor.")
ISNet.Serialization.XmlSerializableAttribute()
NotifyParentPropertyAttribute()
DefaultValueAttribute()
public function get,set ControlType : ControlType
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Gets or sets the control type for this custom editor.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public: __property ControlType get_ControlType();
public: __property void set_ControlType( 
   ControlType value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Gets or sets the control type for this custom editor.")]
[ISNet.Serialization.XmlSerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public:
property ControlType ControlType {
   ControlType get();
   void set (    ControlType value);
}

Remarks

On ServerControl, custom editor would require an instance of object in server side. While on DHTMLClientControl, custom editor is not required to be instantiated in server side.

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.