<?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 PaletteSet - Detect when user changes palettes in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7217915#M30671</link>
    <description>&lt;P&gt;I've got a PaletteSet with three User Control Palettes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can iterate through the ps.Item collection to get to individual palettes, but how can I detect when a user select a particular palette?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2017 21:27:49 GMT</pubDate>
    <dc:creator>RodWing</dc:creator>
    <dc:date>2017-07-10T21:27:49Z</dc:date>
    <item>
      <title>PaletteSet - Detect when user changes palettes</title>
      <link>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7217915#M30671</link>
      <description>&lt;P&gt;I've got a PaletteSet with three User Control Palettes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can iterate through the ps.Item collection to get to individual palettes, but how can I detect when a user select a particular palette?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:27:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7217915#M30671</guid>
      <dc:creator>RodWing</dc:creator>
      <dc:date>2017-07-10T21:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: PaletteSet - Detect when user changes palettes</title>
      <link>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7218575#M30672</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i feel&amp;nbsp;PaletteSet.PaletteActivated event should provide you the required hint&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 06:49:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7218575#M30672</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2017-07-11T06:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: PaletteSet - Detect when user changes palettes</title>
      <link>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7222039#M30673</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;I've got a PaletteSet with three User Control Palettes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can iterate through the ps.Item collection to get to individual palettes, but how can I detect when a user select a particular palette?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The PaletteActivated event is not terribly useful (actually it is the Palette class that is not terribly useful) unto itself, because there is no mapping between Palettes and the control they host. You should create a Dictionary&amp;lt;string, Control&amp;gt; that maps the name of the palette to the Control it hosts, and use that to lookup the control, given the Palette's Name property (and that presumes that your palettes have distinct names).&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:02:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7222039#M30673</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-07-12T12:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: PaletteSet - Detect when user changes palettes</title>
      <link>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7222187#M30674</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;PaletteSet.PaletteActivated event did exactly what I needed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:51:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/paletteset-detect-when-user-changes-palettes/m-p/7222187#M30674</guid>
      <dc:creator>RodWing</dc:creator>
      <dc:date>2017-07-12T12:51:54Z</dc:date>
    </item>
  </channel>
</rss>

