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
1070
StyleSetName Property
posted

I wasn't sure where to post this so I thought a more general forum would be best since this applies to most all the asp.net components.

Can anyone tell me the difference between a Preset and a StyleSetName? I am finding that the items in the selection lists are different even though they both seem to affect the look of the component. I have tried setting the StyleSetName by itself now and it doesn't seem to be affecting the control.

thanks

Parents
No Data
Reply
  • 54937
    Offline posted

    There are topics in the help which discuss the various methods of styling. Essentially a Preset is a file that contains settings that affect look, behavior or both and actually result in the properties of the control and its subobjects to be changed. Application styling does not change the actual properties of the control. Instead, it is used by the control during its resolution processes to determine the value of settings should be used. The StyleSetName property specifically is just a string that is used to identify the name of the style from the ISL (Infragistics Style Library file) that is loaded from which the control should obtain its styling information. If you haven't loaded an .isl or that stylesetname doesn't exist then you won't see anything happen (actually in the latter case if the stylesetname doesn't exist then it resolves to using the default styleset).

Children
No Data