Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: ChildWindow Lock Position or Disable Drag

$
0
0
Here is a total hack that I cannot garantee it will work on the next version:

Create a subclass of ChildWindow and override "OnApplyTemplate"
    public override void OnApplyTemplate()
    {
      base.OnApplyTemplate();
      var windowRoot = GetTemplateChild( "PART_WindowRoot" ) as Grid;
      windowRoot.RenderTransform = null;
    }

Viewing all articles
Browse latest Browse all 2157

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>