<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom visuals: show/hide/change the visual's Title from code in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2400912#M35026</link>
    <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I'm developing a custom visual for power bi, and I have a specific requirement: I would like to change the visual's title settings from code. I'm talking about these settings here, that are common to all visuals:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Master_T_0-1647527593659.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/685919iB848B26A108EB56D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Master_T_0-1647527593659.png" alt="Master_T_0-1647527593659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to change these settings from the visual's code? I've tried manipulating the HTML directly, but unfortunately the title is outside the visual's sandbox, so I can't change it from my code.&lt;/P&gt;&lt;P&gt;Is there any other way to manipulate the title, other than manually changing the settings in the properties panel?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 14:34:54 GMT</pubDate>
    <dc:creator>Master_T</dc:creator>
    <dc:date>2022-03-17T14:34:54Z</dc:date>
    <item>
      <title>Custom visuals: show/hide/change the visual's Title from code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2400912#M35026</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I'm developing a custom visual for power bi, and I have a specific requirement: I would like to change the visual's title settings from code. I'm talking about these settings here, that are common to all visuals:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Master_T_0-1647527593659.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/685919iB848B26A108EB56D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Master_T_0-1647527593659.png" alt="Master_T_0-1647527593659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to change these settings from the visual's code? I've tried manipulating the HTML directly, but unfortunately the title is outside the visual's sandbox, so I can't change it from my code.&lt;/P&gt;&lt;P&gt;Is there any other way to manipulate the title, other than manually changing the settings in the properties panel?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:34:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2400912#M35026</guid>
      <dc:creator>Master_T</dc:creator>
      <dc:date>2022-03-17T14:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visuals: show/hide/change the visual's Title from code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2401393#M35031</link>
      <description>&lt;P&gt;You can use a measure for your title.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-format-visual-titles" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-format-visual-titles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 17:44:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2401393#M35031</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-03-17T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visuals: show/hide/change the visual's Title from code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2401791#M35040</link>
      <description>&lt;P&gt;This is how I would approach - there are no visual APIs for any of properties that affect the visual "container" (iframe), as opposed to the "content".&lt;/P&gt;
&lt;P&gt;For reference, the properties you cannot enumerate or access are anything you can see under the 'General' category of the new Visualization pane layout:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_0-1647554793947.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/686144iFB6F0CD5A7E90688/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dmp_0-1647554793947.png" alt="dmp_0-1647554793947.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you need any functionality for these property menus, you will need to make a request for the visuals team&amp;nbsp; to create an API method for what you want to do.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 22:08:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2401791#M35040</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-03-17T22:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visuals: show/hide/change the visual's Title from code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2403387#M35058</link>
      <description>&lt;P&gt;That's not what I asked...&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 13:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2403387#M35058</guid>
      <dc:creator>Master_T</dc:creator>
      <dc:date>2022-03-18T13:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visuals: show/hide/change the visual's Title from code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2403389#M35059</link>
      <description>&lt;P&gt;Ok, so apparently it can't be done. I suspected that but I needed confirmation, thank you for providing it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 13:39:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visuals-show-hide-change-the-visual-s-Title-from-code/m-p/2403389#M35059</guid>
      <dc:creator>Master_T</dc:creator>
      <dc:date>2022-03-18T13:39:17Z</dc:date>
    </item>
  </channel>
</rss>

