<Editor(GetType(MergeFieldNameBuilder),
GetType(System.Drawing.Design.UITypeEditor))> _
Public Property DataField() As String
Get
Return _DataField
End Get
Set(ByVal value As String)
_DataField = value
End Set
End Property
public class StringListTypeEditor : UITypeEditor
{
// Methods
public override object EditValue(ITypeDescriptorContext context,
IServiceProvider provider, object value)
{
object dResult = null;
if (((context != null) && (context.Instance != null)) && (provider !=
null))
{
IWindowsFormsEditorService edSvc =
provider.GetService(typeof(IWindowsFormsEditorService)) as
IWindowsFormsEditorService;
if (edSvc == null)
{
return dResult;
}
StringListEditor dEdit = new StringListEditor();
CaptionsList dVal = (CaptionsList) value; //<=== your object giving all
methods and properties
......
---------
- G Himangi, LogicNP Software http://www.ssware.com
Shell MegaPack: Drop-In GUI Controls For Windows Explorer Like File And
Folder Browser Functionality
CryptoLicensing: Add licensing, copy-protection and activation to your
software
EZNamespaceExtensions: Fast and painless development of namespace extensions
EZShellExtensions: Rapid development of all shell extensions,explorer bars
and BHOs
---------
"Derek Hart" <derek...@yahoo.com> wrote in message
news:u8rNeAi6...@TK2MSFTNGP03.phx.gbl...