dotMorten / WinUIEx

WinUI Extensions
https://dotmorten.github.io/WinUIEx
MIT License
572 stars 36 forks source link

Help Needed #130

Closed jarno9981 closed 10 months ago

jarno9981 commented 10 months ago

Using latest WinUiEx 2.2.0

  private void CoreTitleBar_LayoutMetricsChanged(CoreApplicationViewTitleBar sender, object args)
  {
      if (FlowDirection == FlowDirection.LeftToRight)
      {
          CustomDragRegion.MinWidth = sender.SystemOverlayRightInset;

      }
      else
      {
          CustomDragRegion.MinWidth = sender.SystemOverlayLeftInset;

      }

      // Ensure that the height of the custom regions are the same as the titlebar.
      CustomDragRegion.Height = VBtn.Height = sender.Height;
  }

how to do it with the winuiex window

dotMorten commented 10 months ago

How to do what? Please be more specific. Is this a bug or feature request? (Please use the Discussions section for questions)

jarno9981 commented 10 months ago

Okay Then I Will Use Discussions