67 references to ActualWidth
PresentationFramework (28)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
408
size = new Size(frameworkElement.
ActualWidth
, frameworkElement.ActualHeight);
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
64
return header._referenceHeader.
ActualWidth
+ header.GetVisualCanvasMarginX();
132
width = _referenceHeader.
ActualWidth
;
src\Framework\System\Windows\Controls\GridSplitter.cs (2)
322
else if (
ActualWidth
<= ActualHeight)// Fall back to Width vs Height
506
_resizeData.SplitterLength = Math.Min(
ActualWidth
, ActualHeight);
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (5)
390
hideGripperRightHalf = DoubleUtil.LessThan(
ActualWidth
, _headerGripper.Width);
807
if (DoubleUtil.IsZero(
ActualWidth
))
841
return !((pos.X >= 0) && (pos.X <=
ActualWidth
) && (pos.Y >= 0) && (pos.Y <= ActualHeight));
887
visualBrush.Viewbox = new Rect(offsetVector.X, offsetVector.Y, FloatSourceHeader.
ActualWidth
, FloatSourceHeader.ActualHeight);
985
get { 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)
159
if ((pos.X >= 0) && (pos.X <=
ActualWidth
) && (pos.Y >= 0) && (pos.Y <= ActualHeight))
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
171
if (!measureAndArrangeInvalidated && !DoubleUtil.AreClose(cell.
ActualWidth
, columns[i].Width.DisplayValue))
188
if (!DoubleUtil.AreClose(cell.
ActualWidth
, columns[i].Width.DisplayValue))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
384
get { 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)
364
Size size = new Size(
ActualWidth
,ActualHeight);
667
xLines.Add(
ActualWidth
);
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
177
_indicator.Width = percent * _track.
ActualWidth
;
src\Framework\System\Windows\Controls\ScrollViewer.cs (4)
926
Rect 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);
1717
double viewportWidth = viewport.
ActualWidth
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
11105
double pixelSize = fHorizontal ?
ActualWidth
: ActualHeight;
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
230
offset.X += image.
ActualWidth
;
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (2)
373
if (element.
ActualWidth
== 0 && element.ActualHeight == 0)
381
maxPoint = new Point(element.
ActualWidth
, element.ActualHeight);
src\Framework\System\Windows\Window.cs (1)
2999
Point newSizeDeviceUnits = LogicalToDeviceUnits(new Point(this.
ActualWidth
, this.ActualHeight));
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\BulletChrome.cs (1)
615
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
Microsoft\Windows\Themes\ButtonChrome.cs (1)
478
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
315
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
420
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
765
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
525
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
228
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
213
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
446
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
Microsoft\Windows\Themes\ScrollChrome.cs (1)
210
Rect bounds = new Rect(0, 0,
ActualWidth
, ActualHeight);
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
213
Rect 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)
896
Rect 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)
287
RenderUtils.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)
305
get { return this.contentGrid.
ActualWidth
- 2 * (this.contentGrid.ColumnDefinitions[0].MinWidth); }
470
double width = this.contentGrid.
ActualWidth
;
509
System.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)
49
double scrollViewerWidth = scrollViewer.
ActualWidth
;
56
logicalViewWidth = logicalView.
ActualWidth
;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (10)
184
if (IsInvalid(window.
ActualWidth
) || IsInvalid(window.
ActualWidth
) || IsInvalid(window.DesiredSize.Width) || IsInvalid(window.DesiredSize.Height))
252
calculatedPosition = transform.Transform(new Point(target.
ActualWidth
, 0.0));
256
calculatedPosition = transform.Transform(new Point(target.
ActualWidth
, target.ActualHeight));
261
x = ((target.
ActualWidth
* transform.Matrix.M11) - window.Width) / 2.0;
268
x = ((target.
ActualWidth
* transform.Matrix.M11) - window.Width) / 2.0;
308
position.X = CalculateInBoundsValue(position.X, window.DesiredSize.Width, this.
ActualWidth
, this.selectedChild.Value.X);
354
if (IsGreater(pos.X, size.Width, this.
ActualWidth
))
356
size.Width = this.
ActualWidth
- pos.X;
447
this.rearangeStartSize.Width = this.
ActualWidth
;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (3)
330
else if (position.X >= this.border.
ActualWidth
- BorderOffset && position.Y <= BorderOffset)
340
else if (position.X >= this.border.
ActualWidth
- BorderOffset && position.Y >= this.border.ActualHeight - BorderOffset)
360
else if (position.X >= this.border.
ActualWidth
- (BorderOffset / 2.0))
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (2)
202
Point bottomRight = transform.Transform(new Point(view.DragHandle.
ActualWidth
, view.DragHandle.ActualHeight));
274
Rect rect = new Rect(location.X, location.Y, view.
ActualWidth
, view.ActualHeight);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (3)
396
if (this.ActualHeight > 0 && this.
ActualWidth
> 0)
398
Rect bounds = new Rect(currentPoint, new Size(this.
ActualWidth
, this.ActualHeight));
405
bounds = new Rect(currentPoint, new Size(this.
ActualWidth
, this.ActualHeight));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
435
this.blockWidth = textBlock.
ActualWidth
;
528
this.blockWidth = Math.Max(this.
ActualWidth
- 8, 0); //8 is the margin
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
800
Rect dragHandleRect = new Rect(dragHandleLocation, new Size(this.DragHandle.
ActualWidth
, this.DragHandle.ActualHeight));