Closed octav84 closed 8 years ago
Please share a (simplified as far as possible) repro app that we can debug to understand the problem you are seeing.
Thanks,
Problem solved. The grid assigned space to the canvas because it was in a row with height set to "*". To make the RelativePanel assign space to the canvas, I simply wrote: RelativePanel.AlignBottomWithPanel = "True". Now the canvas had vertical space and OnRegionsInvalidated fired.
Thank you
Hi, I have a CanvasVirtualControl inside a RelativePanel XAML (UWP) control. Well, the exact structure is more complicated, but the only thing I noticed is the RelativePanel has something to do with it. The CanvasVirtualControl won't invalidate regions. Previously, there was a Grid instead of the RelativePanel and everithing worked fine. I happen to need the RelativePanel because it fixes another bug.
This is the XAML of the page:
This is the code behind:
using Cerner.Pulse.Common.Enums; using Cerner.Pulse.UI.Util; using Cerner.Pulse.UI.Util.ReviewUtil; using Cerner.Pulse.UI.ViewModels.LabResults; using GalaSoft.MvvmLight.Ioc; using Microsoft.Graphics.Canvas; using Microsoft.Graphics.Canvas.Brushes; using Microsoft.Graphics.Canvas.UI; using Microsoft.Graphics.Canvas.UI.Xaml; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Windows.Foundation; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace Cerner.Pulse.UI.Views.ReviewViews { ///
}
Thank you