Example #1
0
 void visualsPanel_LayoutUpdated(object?sender, EventArgs e)
 {
     if (hasContentSizeChanged)
     {
         hasContentSizeChanged = false;
         ContentSizeChanged?.Invoke(ContentSize);
     }
 }
Example #2
0
 private void _windowResizerTimer_Tick(object sender, object e)
 {
     //_contentPresenter.Width = Window.Current.Bounds.Width;
     _windowResizerTimer.Stop();
     ContentSizeChanged?.Invoke(_contentPresenter.Width);
 }
Example #3
0
 internal void NotifyContentSizeChanged() => ContentSizeChanged?.Invoke(this, EventArgs.Empty);
Example #4
0
 internal void OnTextContentSizeChanged()
 {
     ContentSizeChanged?.Invoke(this, EventArgs.Empty);
 }