65 references to ActualWidth
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsTag.cs (1)
249return !(mousePoint.X > hintUIElement.ActualWidth || mousePoint.X < 0 || mousePoint.Y > hintUIElement.ActualHeight || mousePoint.Y < 0);
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\InheritanceMarginViewMargin.cs (1)
219return _mainCanvas.ActualWidth;
PresentationFramework (28)
MS\Internal\Ink\InkCanvasSelection.cs (1)
398size = new Size(frameworkElement.ActualWidth, frameworkElement.ActualHeight);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
63return header._referenceHeader.ActualWidth + header.GetVisualCanvasMarginX(); 131width = _referenceHeader.ActualWidth;
System\Windows\Controls\GridSplitter.cs (2)
321else if (ActualWidth <= ActualHeight)// Fall back to Width vs Height 504_resizeData.SplitterLength = Math.Min(ActualWidth, ActualHeight);
System\Windows\Controls\GridViewColumnHeader.cs (5)
387hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.Width); 787if (DoubleUtil.IsZero(ActualWidth)) 808return !((pos.X >= 0) && (pos.X <= ActualWidth) && (pos.Y >= 0) && (pos.Y <= ActualHeight)); 854visualBrush.Viewbox = new Rect(offsetVector.X, offsetVector.Y, FloatSourceHeader.ActualWidth, FloatSourceHeader.ActualHeight); 952get { return (Column != null ? Column.ActualWidth : ActualWidth); }
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1211_floatingHeader.Width = srcHeader.ActualWidth;
System\Windows\Controls\Primitives\ButtonBase.cs (1)
162if ((pos.X >= 0) && (pos.X <= ActualWidth) && (pos.Y >= 0) && (pos.Y <= ActualHeight))
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
170if (!measureAndArrangeInvalidated && !DoubleUtil.AreClose(cell.ActualWidth, columns[i].Width.DisplayValue)) 187if (!DoubleUtil.AreClose(cell.ActualWidth, columns[i].Width.DisplayValue))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
383get { return Column != null ? Column.ActualWidth : ActualWidth; }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
168_thumbOffset = thumbPoint - new Point(Track.Thumb.ActualWidth * 0.5, Track.Thumb.ActualHeight * 0.5);
System\Windows\Controls\Primitives\TickBar.cs (2)
363Size size = new Size(ActualWidth,ActualHeight); 666xLines.Add(ActualWidth);
System\Windows\Controls\ProgressBar.cs (1)
181_indicator.Width = percent * _track.ActualWidth;
System\Windows\Controls\ScrollViewer.cs (4)
899Rect rc = new Rect(0, 0, this.ActualWidth, this.ActualHeight); 1627_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : viewport.ActualWidth / viewportWidth); 1632_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : ActualWidth / viewportWidth); 1671double viewportWidth = viewport.ActualWidth;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
11243double pixelSize = fHorizontal ? ActualWidth : ActualHeight;
System\Windows\Documents\FixedTextView.cs (1)
222offset.X += image.ActualWidth;
System\windows\Documents\TextEditorContextMenu.cs (2)
351if (element.ActualWidth == 0 && element.ActualHeight == 0) 359maxPoint = new Point(element.ActualWidth, element.ActualHeight);
System\Windows\Window.cs (1)
2944Point newSizeDeviceUnits = LogicalToDeviceUnits(new Point(this.ActualWidth, this.ActualHeight));
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
609Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ButtonChrome.cs (1)
472Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
309Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
414Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Aero2 (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
609Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ButtonChrome.cs (1)
472Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
309Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
414Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
167Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
760Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
517Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
222Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
208Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
438Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
204Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
208Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
222horizontalPosition -= _keyTipControl.ActualWidth; 227horizontalPosition -= (_keyTipControl.ActualWidth / 2); 341Rect adornerLayerRect = new Rect(0, 0, adornerLayer.ActualWidth, adornerLayer.ActualHeight); 344_keyTipControl.ActualWidth,
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
112if (!DoubleUtil.AreClose(originalRenderWidth, invalidGroup.ActualWidth))
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1445(DoubleUtil.LessThan(window.ActualWidth, CollapseWidth) || 1603Point endPoint = popupPlacementTarget.PointToScreen(new Point(popupPlacementTarget.ActualWidth, popupPlacementTarget.ActualHeight));
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
38itemsPresenter.Width = itemsPresenter.ActualWidth;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (3)
1701double horizontalOffset = groupOrigin.X + (ActualWidth / 2); 1703DoubleUtil.LessThanOrClose(horizontalOffset, ribbon.ActualWidth)) 1731double horizontalOffset = groupToPopup.Transform(new Point()).X + (ActualWidth / 2);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
300Point rightBottom = new Point(ActualWidth - margin.Right - borderThickness.Right, ActualHeight); 656double tabHeaderCenterX = tabHeaderOrigin.X + (ActualWidth / 2); 658DoubleUtil.GreaterThan(tabHeaderCenterX, tabHeaderItemsControl.ActualWidth)) 670DoubleUtil.GreaterThan(horizontalOffset, ribbon.ActualWidth))
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
400transformGroup.TryTransform(new Point(referenceFE.ActualWidth, referenceFE.ActualHeight), out rightBottom);
WindowsFormsIntegration (3)
System\Windows\Integration\HostUtils.cs (3)
248new Point(host.ActualWidth, host.ActualHeight)); 251new Point(frameworkElementAncestor.ActualWidth, frameworkElementAncestor.ActualHeight)); 271(int)Math.Ceiling(element.ActualWidth),