Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
finding controls within Infragistics control collection
posted

Hi,

I'm exploring Infragistics windows forms controls for a while. I'm trying to write a common code for setting controls' properties programatically. For that I need to know the type of control in the collection. So how can I find the base class for infragistics controls and a method to get the type of control from the collection?

Parents
  • 37774
    Suggested Answer
    posted

    I'm not quite sure what you're trying to accomplish.  Most, if not all, of the control in the Windows Forms suite derive from UltraControlBase, so you could check to see if a control is of that type, but I don't really know what kind of appearances that you're trying to set.  Also, if you're trying to set several appearance-related properties, you might want to take a look at AppStyling and AppStylist, since you can load an ISL file that will apply to all of the controls in your application.

    -Matt

Reply Children