Re: ArrayConverter example

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ciaran (ciaran_at_theodonnells.plus.com)
Date: 12/18/04


Date: Sat, 18 Dec 2004 00:53:09 -0000

Array convert is used to convert an array to another type. I know classes
like this are used with the TypeConverter attribute to enable conversion of
an objects properties that are themselves objects in a PropertyGrid.
What are you looking to use it for it should be used to convert an array to
a string or somthing like that.

Ciaran

"Nader Yacoub" <Nader.Yacoub@Attek.com> wrote in message
news:9d37522b.0411031425.411fbd2@posting.google.com...
> does anyone have an example of how and where to use
> System.ComponentModel.ArrayConverter



Relevant Pages

  • Re: Help with Objects
    ... I am trying to figure out how to use objects properties in my code so ... when the page loads All my properties are in object where I can use ... var ref = wayPoint[wp]; ... But it seems pointless to create an array ...
    (comp.lang.javascript)
  • Re: array of textBoxes
    ... An array of an objects properties is created with AMEMBERS(array, ... Each container type object, like Form, Container, Control, PageFrame, Page, ... or Grid has an Objects collection ... You can store object references in any array or in a Collection object. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: TypeConverter for object type Properties
    ... You could set a special TypeConverter which would delegate the work to ... the real TypeConverter of the property. ... But when only a context is passed, ... be able to see all of the elements in the array. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • PropertyGrid.SelectedObjects and TypeConverter Attribute
    ... I have a class that has the TypeConverter attribute applied to expose ... its properties according to a customized set of rules. ... set the SelectedObjects property to an array of the type (that has the ... TypeConverter attribute applied) then it ignores the TypeConverter. ...
    (microsoft.public.dotnet.framework.windowsforms)