Intersoft WebGrid Documentation
CustomEditorProperties Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridColumn Class : CustomEditorProperties Property






Gets or sets the control specific properties to be used in a custom editor.

Syntax

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

Remarks

WebGrid.NET Enterprise 5.0 provides a new EditType that allow you to use your favorite editing control and "hook" it up into WebGrid easily. CustomEdittype will allow you to add unlimited edit controls and reuse it throughout all your webforms and projects. For more information you can read Custom Editor Open Architecture.

Using SlideBar CustomEditor

SlideBar is a new custom editor control which is built into WebGrid.NET Enterprise v5.0 and should be available in CustomEditorName property's dropdown. It is designed to allow users to conveniently input numeric values with rules such as maximum/minimum value, interval value, etc.
In CustomEditorProperties you can set the MinValue and MaxValue.
You can customize the mode and other appearance settings of SlideBar by simply setting the properties in CustomEditorProperties. Specify the property you want to customize and provide the value, then separate each property with a semicolon ';'. For example: "Type=x;Interval=5;MaxValue=80;MinValue=20;Width=150;"
You need to insert the line above (without quotes) as a string into the CustomEditorProperties. For more information regarding SlideBar CustomEditor and the list of properties you can customize, please read Using SlideBar CustomEditor.

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

Reference

WebGridColumn Class
WebGridColumn Members

Tasks

Walkthrough: Using SlideBar Custom Editor in WebGrid

Concepts

Custom Editor Open Architecture
Using SlideBar CustomEditor

©2012 Intersoft Solutions Corp. All Rights Reserved.