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
295
Using resource to style specific instance
posted

So I have an ISL file with all of the controls styled, and I have a particular form where some of the labels need to be styled differently. Ideally I'd like to also have those in the ISL file. My current approach is to define new resources in the ISL file, and then set the specific controls to point to the resource using the  StyleResourceName property. The problem is that it doesn't work. The control (UltraLabel) in this case doesn't change. I'm assuming I can just put the name of the resource as it appears in the AppStylist, and then that resource should apply to the control. Does it matter what the ResolutionOrder is set to? Would it be better to use different roles for this kind of styling?

 Thanks,

Jason