Author Topic: Trouble with Palettes ...  (Read 10204 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Trouble with Palettes ...
« Reply #30 on: August 21, 2018, 04:32:07 PM »
Ah well … not using WPF controls and I'm not thinking a rewrite is in order
I ended up wrapping them in a Panel and using the same technique and amazingly it worked, although I had to dockfill the Usercontrol in the panel too.


So far so good ...
« Last Edit: August 21, 2018, 04:43:35 PM by Keith™ »
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: Trouble with Palettes ...
« Reply #31 on: August 22, 2018, 07:33:21 AM »
Ah well … not using WPF controls

Now I see why you've had some of the issues you've had and the need to subclass.

WPF and the MVVM architecture is the only way to go in C# for desktop UI. Time to let the past go and move over.
Revit 2019, AMEP 2019 64bit Win 10

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Trouble with Palettes ...
« Reply #32 on: August 22, 2018, 08:31:15 AM »
Ah well … not using WPF controls

Now I see why you've had some of the issues you've had and the need to subclass.

WPF and the MVVM architecture is the only way to go in C# for desktop UI. Time to let the past go and move over.

If there weren't already 4 years of development in this project, I'd be happy to do that, but alas, I can't jeopardize the release date.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie