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)
386size = new Size(frameworkElement.ActualWidth, frameworkElement.ActualHeight);
System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
59return header._referenceHeader.ActualWidth + header.GetVisualCanvasMarginX(); 127width = _referenceHeader.ActualWidth;
System\Windows\Controls\GridSplitter.cs (2)
315else if (ActualWidth <= ActualHeight)// Fall back to Width vs Height 498_resizeData.SplitterLength = Math.Min(ActualWidth, ActualHeight);
System\Windows\Controls\GridViewColumnHeader.cs (5)
383hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.Width); 783if (DoubleUtil.IsZero(ActualWidth)) 804return !((pos.X >= 0) && (pos.X <= ActualWidth) && (pos.Y >= 0) && (pos.Y <= ActualHeight)); 850visualBrush.Viewbox = new Rect(offsetVector.X, offsetVector.Y, FloatSourceHeader.ActualWidth, FloatSourceHeader.ActualHeight); 948get { return (Column != null ? Column.ActualWidth : ActualWidth); }
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1208_floatingHeader.Width = srcHeader.ActualWidth;
System\Windows\Controls\Primitives\ButtonBase.cs (1)
151if ((pos.X >= 0) && (pos.X <= ActualWidth) && (pos.Y >= 0) && (pos.Y <= ActualHeight))
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
165if (!measureAndArrangeInvalidated && !DoubleUtil.AreClose(cell.ActualWidth, columns[i].Width.DisplayValue)) 182if (!DoubleUtil.AreClose(cell.ActualWidth, columns[i].Width.DisplayValue))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
378get { return Column != null ? Column.ActualWidth : ActualWidth; }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
152_thumbOffset = thumbPoint - new Point(Track.Thumb.ActualWidth * 0.5, Track.Thumb.ActualHeight * 0.5);
System\Windows\Controls\Primitives\TickBar.cs (2)
349Size size = new Size(ActualWidth,ActualHeight); 652xLines.Add(ActualWidth);
System\Windows\Controls\ProgressBar.cs (1)
174_indicator.Width = percent * _track.ActualWidth;
System\Windows\Controls\ScrollViewer.cs (4)
891Rect rc = new Rect(0, 0, this.ActualWidth, this.ActualHeight); 1619_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : viewport.ActualWidth / viewportWidth); 1624_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : ActualWidth / viewportWidth); 1663double viewportWidth = viewport.ActualWidth;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
11238double pixelSize = fHorizontal ? ActualWidth : ActualHeight;
System\Windows\Documents\FixedTextView.cs (1)
214offset.X += image.ActualWidth;
System\windows\Documents\TextEditorContextMenu.cs (2)
349if (element.ActualWidth == 0 && element.ActualHeight == 0) 357maxPoint = new Point(element.ActualWidth, element.ActualHeight);
System\Windows\Window.cs (1)
2931Point newSizeDeviceUnits = LogicalToDeviceUnits(new Point(this.ActualWidth, this.ActualHeight));
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
603Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ButtonChrome.cs (1)
463Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
303Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
409Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Aero2 (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
603Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ButtonChrome.cs (1)
463Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
303Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
409Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
161Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
757Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
514Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
218Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
204Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
435Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
200Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
204Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\KeyTipAdorner.cs (4)
219horizontalPosition -= _keyTipControl.ActualWidth; 224horizontalPosition -= (_keyTipControl.ActualWidth / 2); 338Rect adornerLayerRect = new Rect(0, 0, adornerLayer.ActualWidth, adornerLayer.ActualHeight); 341_keyTipControl.ActualWidth,
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
107if (!DoubleUtil.AreClose(originalRenderWidth, invalidGroup.ActualWidth))
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
1442(DoubleUtil.LessThan(window.ActualWidth, CollapseWidth) || 1600Point endPoint = popupPlacementTarget.PointToScreen(new Point(popupPlacementTarget.ActualWidth, popupPlacementTarget.ActualHeight));
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
32itemsPresenter.Width = itemsPresenter.ActualWidth;
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (3)
1698double horizontalOffset = groupOrigin.X + (ActualWidth / 2); 1700DoubleUtil.LessThanOrClose(horizontalOffset, ribbon.ActualWidth)) 1728double horizontalOffset = groupToPopup.Transform(new Point()).X + (ActualWidth / 2);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
298Point rightBottom = new Point(ActualWidth - margin.Right - borderThickness.Right, ActualHeight); 654double tabHeaderCenterX = tabHeaderOrigin.X + (ActualWidth / 2); 656DoubleUtil.GreaterThan(tabHeaderCenterX, tabHeaderItemsControl.ActualWidth)) 668DoubleUtil.GreaterThan(horizontalOffset, ribbon.ActualWidth))
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
397transformGroup.TryTransform(new Point(referenceFE.ActualWidth, referenceFE.ActualHeight), out rightBottom);
WindowsFormsIntegration (3)
System\Windows\Integration\HostUtils.cs (3)
244new Point(host.ActualWidth, host.ActualHeight)); 247new Point(frameworkElementAncestor.ActualWidth, frameworkElementAncestor.ActualHeight)); 267(int)Math.Ceiling(element.ActualWidth),