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
80
Programmatically change properties for ExplorerBarGroupItemAreaInner/Outer UI Roles
posted

Hi!

We change Normal Background Color for ExplorerBarGroupItemAreaInner and ExplorerBarGroupItemAreaOuter roles for UltraTreeExplorerBar using AppStylist, then save in *.isl file. And there are one instance of UltraTreeExplorerBar on our application we do not want to use this changed color. Is that a way to set some properties for this instance in code to change corresponding color to White?

And more general question, can we see an information about UI Roles mapping to controls' properties in codebehind?

Thank you

Parents
  • 6120
    Verified Answer
    Offline posted

    Hello Eugene,

    There is a possibility of having different style for the two instances of UltraTreeExplorerBar by using a StyleSet. In this StyleSet you will have to create two isl files or StyleSheets with required Background color set for ExplorerGroupItemAreaInner and ExplorerBarGroupItemOuter roles. For each instance of UltraTreeExplorerBar the relative StyleSheet should be applied.

    The Styles have to be set either with the AppStylist or in code behind because based on how the ResolutionOrder is set the styles will be overridden. You can read more about ResolutionOrder at the below link. After you open the below link, scroll to the middle of the page to find this common component property.

    https://www.infragistics.com/help/winforms/styling-guide-roles

    Using the Appearance object off the control you can see its UI Roles information.

    Please let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

Reply Children
No Data