67 references to ActualWidth
PresentationFramework (28)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
408size = new Size(frameworkElement.ActualWidth, frameworkElement.ActualHeight);
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
64return header._referenceHeader.ActualWidth + header.GetVisualCanvasMarginX(); 132width = _referenceHeader.ActualWidth;
src\Framework\System\Windows\Controls\GridSplitter.cs (2)
322else if (ActualWidth <= ActualHeight)// Fall back to Width vs Height 506_resizeData.SplitterLength = Math.Min(ActualWidth, ActualHeight);
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (5)
390hideGripperRightHalf = DoubleUtil.LessThan(ActualWidth, _headerGripper.Width); 807if (DoubleUtil.IsZero(ActualWidth)) 841return !((pos.X >= 0) && (pos.X <= ActualWidth) && (pos.Y >= 0) && (pos.Y <= ActualHeight)); 887visualBrush.Viewbox = new Rect(offsetVector.X, offsetVector.Y, FloatSourceHeader.ActualWidth, FloatSourceHeader.ActualHeight); 985get { return (Column != null ? Column.ActualWidth : ActualWidth); }
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1214_floatingHeader.Width = srcHeader.ActualWidth;
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
159if ((pos.X >= 0) && (pos.X <= ActualWidth) && (pos.Y >= 0) && (pos.Y <= ActualHeight))
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
171if (!measureAndArrangeInvalidated && !DoubleUtil.AreClose(cell.ActualWidth, columns[i].Width.DisplayValue)) 188if (!DoubleUtil.AreClose(cell.ActualWidth, columns[i].Width.DisplayValue))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
384get { return Column != null ? Column.ActualWidth : ActualWidth; }
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (1)
170_thumbOffset = thumbPoint - new Point(Track.Thumb.ActualWidth * 0.5, Track.Thumb.ActualHeight * 0.5);
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (2)
364Size size = new Size(ActualWidth,ActualHeight); 667xLines.Add(ActualWidth);
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
177_indicator.Width = percent * _track.ActualWidth;
src\Framework\System\Windows\Controls\ScrollViewer.cs (4)
926Rect rc = new Rect(0, 0, this.ActualWidth, this.ActualHeight); 1673_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : viewport.ActualWidth / viewportWidth); 1678_panningInfo.DeltaPerHorizontalOffet = (DoubleUtil.AreClose(viewportWidth, 0) ? 0 : ActualWidth / viewportWidth); 1717double viewportWidth = viewport.ActualWidth;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
11105double pixelSize = fHorizontal ? ActualWidth : ActualHeight;
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
230offset.X += image.ActualWidth;
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (2)
373if (element.ActualWidth == 0 && element.ActualHeight == 0) 381maxPoint = new Point(element.ActualWidth, element.ActualHeight);
src\Framework\System\Windows\Window.cs (1)
2999Point newSizeDeviceUnits = LogicalToDeviceUnits(new Point(this.ActualWidth, this.ActualHeight));
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
615Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ButtonChrome.cs (1)
478Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
315Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
420Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
765Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
525Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
228Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
213Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
446Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
210Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
213Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
System.Activities.Presentation (28)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
896Rect fullRect = new Rect(0d, 0d, this.ActualWidth, this.ActualHeight);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
287RenderUtils.DrawInscribedRoundedRect(drawingContext, this.Background, strokePen, new Rect(0d, 0d, this.ActualWidth, this.ActualHeight), this.CornerRadius);
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (3)
305get { return this.contentGrid.ActualWidth - 2 * (this.contentGrid.ColumnDefinitions[0].MinWidth); } 470double width = this.contentGrid.ActualWidth; 509System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} ScrollViewer: EWidth {1}, EHeight {2}, AWidth {3}, AHeight {4}, ViewPortW {5} ViewPortH {6}", prefix, mapSource.ExtentWidth, mapSource.ExtentHeight, mapSource.ActualWidth, mapSource.ActualHeight, mapSource.ViewportWidth, mapSource.ViewportHeight));
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (2)
49double scrollViewerWidth = scrollViewer.ActualWidth; 56logicalViewWidth = logicalView.ActualWidth;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (10)
184if (IsInvalid(window.ActualWidth) || IsInvalid(window.ActualWidth) || IsInvalid(window.DesiredSize.Width) || IsInvalid(window.DesiredSize.Height)) 252calculatedPosition = transform.Transform(new Point(target.ActualWidth, 0.0)); 256calculatedPosition = transform.Transform(new Point(target.ActualWidth, target.ActualHeight)); 261x = ((target.ActualWidth * transform.Matrix.M11) - window.Width) / 2.0; 268x = ((target.ActualWidth * transform.Matrix.M11) - window.Width) / 2.0; 308position.X = CalculateInBoundsValue(position.X, window.DesiredSize.Width, this.ActualWidth, this.selectedChild.Value.X); 354if (IsGreater(pos.X, size.Width, this.ActualWidth)) 356size.Width = this.ActualWidth - pos.X; 447this.rearangeStartSize.Width = this.ActualWidth;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (3)
330else if (position.X >= this.border.ActualWidth - BorderOffset && position.Y <= BorderOffset) 340else if (position.X >= this.border.ActualWidth - BorderOffset && position.Y >= this.border.ActualHeight - BorderOffset) 360else if (position.X >= this.border.ActualWidth - (BorderOffset / 2.0))
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
202Point bottomRight = transform.Transform(new Point(view.DragHandle.ActualWidth, view.DragHandle.ActualHeight)); 274Rect rect = new Rect(location.X, location.Y, view.ActualWidth, view.ActualHeight);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (3)
396if (this.ActualHeight > 0 && this.ActualWidth > 0) 398Rect bounds = new Rect(currentPoint, new Size(this.ActualWidth, this.ActualHeight)); 405bounds = new Rect(currentPoint, new Size(this.ActualWidth, this.ActualHeight));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
435this.blockWidth = textBlock.ActualWidth; 528this.blockWidth = Math.Max(this.ActualWidth - 8, 0); //8 is the margin
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
800Rect dragHandleRect = new Rect(dragHandleLocation, new Size(this.DragHandle.ActualWidth, this.DragHandle.ActualHeight));