The code I posted works on parts of the EPI controls but it doesn't work on all EPI controls. Haven't had a chance to check it on a epicombo
And I just realized that at least part of your answer is located on the "Object explorer" under the "Tools" pull down in customization mode.
Click open the "Controls" tree in the object explorer and you can drill into the properties on most of the controls. It doesn't show you an explanation but at least you see the syntax. Except for the Epi prefixed properties there is usually an explanation at the infragistics website or even MSDN for the property.
And I just realized that at least part of your answer is located on the "Object explorer" under the "Tools" pull down in customization mode.
Click open the "Controls" tree in the object explorer and you can drill into the properties on most of the controls. It doesn't show you an explanation but at least you see the syntax. Except for the Epi prefixed properties there is usually an explanation at the infragistics website or even MSDN for the property.
--- In vantage@yahoogroups.com, "jckinneman" <jckinneman@...> wrote:
>
>
>
> Here is some code that will list the public properties for a control. You pass a reference to the control you are interested in and the values will be copied to your clipboard.
>
> So for a epicombo box, put a epicombo box on your screen, then call the function from the initialize or form load code. Then open excel/notepad and paste.
>
> OutputPropertiesToConsole(myEpiControl);
>
> ////////
> using System.Text;
>
> public static void OutputPropertiesToConsole(object o)
> {
> // Get the type.
> Type t = o.GetType();
> StringBuilder sb = new StringBuilder();
>
> // Cycle through the properties.
> foreach (System.Reflection.PropertyInfo p in t.GetProperties())
> {
> // Write the name and the value.
> sb.Append(string.Format("{0} = {1}", p.Name, p.GetValue(o, null)));
> sb.Append(Environment.NewLine);
> }
> Clipboard.SetDataObject( sb.ToString(), true );
> //MessageBox.Show(sb.ToString());
> }
>
> --- In vantage@yahoogroups.com, effgroups@ wrote:
> >
> > I tried searching there for a while but I came up empty handed.
> > If you would be so kind to point me more specific where I have to look I would appreciate.
> > Ephraim Feldman
> >
> > -----Original Message-----
> > From: "jckinneman" <jckinneman@>
> > Date: Wed, 12 May 2010 20:47:10
> > To: <vantage@yahoogroups.com>
> > Subject: [Vantage] Re: Customization controls properties
> >
> >
> >
> > The Epicor controls are based on Infragistics controls to a large degree though Epicor does remove or ignores some of the capability. If you search Infragistics site for similar named controls you will find most of the properties. For example you might search for "grid" or "combobox" which will lead to what Infragistics calls the control. As I mentioned not all of the properties are valid for Epicor's version of the control. Also under it all the controls have a basis as a .net control so the epicombo has pretty much the base properties of a standard combo box so the Microsoft website can help you with doing simple things. Trivial example but if you wanted to see how the width property worked the explanation at Microsoft will suffice. And while the Infragistics and Epicor version of the combo have some cool/powerful features if you understand it better doing it with the base properties don't sweat it.
> >
> >
> > Jim Kinneman
> > Senior Consultant
> > Encompass Solutions
> > --- In vantage@yahoogroups.com, effgroups@ wrote:
> > >
> > > Hi all,
> > >
> > > Can anyone point me where I can find a explanation on all properties offered on controls in customizations?
> > >
> > > In particular I'm trying to create a combo box with static data but it should have 2 columns one for the data saved in the table and a second for the description.
> > > Can it be done? How?
> > >
> > > I couldn't find anywhere help on all the properties available.
> > >
> > > Thanks
> > >
> > > Ephraim
> > > Ephraim Feldman
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>