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