<?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 Re: Assigning default Color to formatting pane color field in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1081407#M23569</link>
    <description>&lt;P&gt;Wow!&amp;nbsp; I didn't know the HEX code will fix the problem.&amp;nbsp; Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 13:27:32 GMT</pubDate>
    <dc:creator>powerkriya</dc:creator>
    <dc:date>2020-05-08T13:27:32Z</dc:date>
    <item>
      <title>Assigning default Color to formatting pane color field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1080095#M23559</link>
      <description>&lt;P&gt;I started with the circle card master visual project, and adding&amp;nbsp;stuffs&amp;nbsp;to that.&lt;/P&gt;&lt;P&gt;I have a default color to the circle as "gold" and I want to set this default value to the circle color setting on the formatting pane.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way we can do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find my code in the location :&amp;nbsp;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam06.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fdrive.google.com-252Fopen-253Fid-253D1enuJlByDBmNTvkkEQTvGFX9U9aiV6q-2Di-26data-3D02-257C01-257Cv-2Dgrniki-2540microsoft.com-257Cb7334710961244eb670708d7f0124155-257C72f988bf86f141af91ab2d7cd011db47-257C1-257C0-257C637241838556193359-26sdata-3DD5b0drHsZI6g9sWPQiJg2-252BZ3fRPcPjDi4AfBSG8NWC4-253D-26reserved-3D0%26d%3DDwMGaQ%26c%3DeuGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM%26r%3DmCwDWzdY33izvaTcG8-2Z_VpZ2yjVo9cb7mPdcpQ8Ow%26m%3D-OuM_Ud8jvT5Rx0gwmW7KjFqUCHq3o6knB8CgdCdTN4%26s%3DmWG-MmeJOXEnqSkS7KjA5XDY1wrQrk91djWafehItrQ%26e%3D&amp;amp;data=02%7C01%7Cv-grniki%40microsoft.com%7C217c3baebe1b4e11b32c08d7f03f304a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637242026498338902&amp;amp;sdata=HcIfBahikOGkor7ykSJIYxJO47HXbX4grVZeF98WnFE%3D&amp;amp;reserved=0" target="_blank"&gt;https://drive.google.com/open?id=1enuJlByDBmNTvkkEQTvGFX9U9aiV6q-i&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 20:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1080095#M23559</guid>
      <dc:creator>powerkriya</dc:creator>
      <dc:date>2020-05-07T20:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning default Color to formatting pane color field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1080589#M23564</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/147741"&gt;@powerkriya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You need to set defaults using HTML (HEX) codes - CSS named colours don't work. So, if I change the variable assignement in your &lt;FONT face="courier new,courier"&gt;settings.ts&lt;/FONT&gt; for &lt;FONT face="courier new,courier"&gt;circleColor&lt;/FONT&gt; to the &lt;A href="https://www.w3schools.com/colors/color_tryit.asp?color=Gold" target="_self"&gt;HEX value for Gold&lt;/A&gt;, e.g.:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;export class CircleSettings {
  public circleColor: string = "#D9B300";
  /** Rest of your properties... */
}&lt;/LI-CODE&gt;
&lt;P&gt;This will then work based on your current binding in&lt;FONT face="courier new,courier"&gt; visual.ts&lt;/FONT&gt; (which is correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ), e.g.:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-05-08_16-22-10.gif" style="width: 624px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/272143i8E3730CD9C3742E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-05-08_16-22-10.gif" alt="2020-05-08_16-22-10.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(it's not easy to see but I'm clicking 'Revert to Default' in the bottom of the palette to confirm your colour defaults back to gold)&lt;/P&gt;
&lt;P&gt;Hopefully that's all you need to crack on - good luck!&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 04:26:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1080589#M23564</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2020-05-08T04:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning default Color to formatting pane color field</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1081407#M23569</link>
      <description>&lt;P&gt;Wow!&amp;nbsp; I didn't know the HEX code will fix the problem.&amp;nbsp; Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 13:27:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Assigning-default-Color-to-formatting-pane-color-field/m-p/1081407#M23569</guid>
      <dc:creator>powerkriya</dc:creator>
      <dc:date>2020-05-08T13:27:32Z</dc:date>
    </item>
  </channel>
</rss>

