37 references to WidthProperty
PresentationFramework (30)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
227
snc.SetValue(FrameworkElement.
WidthProperty
, width);
231
snc.ClearValue(FrameworkElement.
WidthProperty
);
813
double width = (double)snc.GetValue(FrameworkElement.
WidthProperty
);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
22
WidthProperty
.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
24
WidthProperty
.OverrideMetadata(
System\Windows\Controls\GridViewColumn.cs (1)
377
FrameworkElement.
WidthProperty
.AddOwner(
System\Windows\Controls\InkCanvas.cs (1)
108
Property =
WidthProperty
,
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
769
_columnHeaderDragIndicator.CoerceValue(
WidthProperty
);
801
_columnHeaderDropLocationIndicator.CoerceValue(
WidthProperty
);
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
123
WidthProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth));
234
DataGridHelper.TransferProperty(this,
WidthProperty
);
274
else if (e.Property == DataGrid.RowHeaderWidthProperty || e.Property ==
WidthProperty
)
276
DataGridHelper.TransferProperty(this,
WidthProperty
);
389
WidthProperty
,
System\Windows\Controls\Primitives\PopupRoot.cs (1)
254
_adornerDecorator.SetBinding(
WidthProperty
, binding);
System\Windows\Controls\RichTextBox.cs (1)
778
this.RenderScope.ClearValue(FlowDocumentView.
WidthProperty
);
System\Windows\Controls\StickyNote.cs (1)
1163
SetCurrentValueInternal(
WidthProperty
, wNew);
System\Windows\Controls\ToolBarTray.cs (4)
569
prevToolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
615
toolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
634
toolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
647
currentToolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
System\Windows\Documents\TextSchema.cs (1)
1164
FrameworkElement.
WidthProperty
,
System\Windows\FrameworkElement.cs (3)
2240
if (!BypassLayoutPolicies || !((dp ==
WidthProperty
) || (dp == HeightProperty)))
3484
get { return (double) GetValue(
WidthProperty
); }
3485
set { SetValue(
WidthProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2745
DependencyProperty dp = System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1787
return System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Window.cs (3)
48
WidthProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged)));
4616
SetValue(
WidthProperty
, restoreRect.Width);
4645
SetValue(FrameworkElement.
WidthProperty
, ptLogicalUnits.X);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
713
_zoomComboBox.SetBinding(ContentControl.
WidthProperty
, bind);
769
_pageTextBox.SetBinding(ContentControl.
WidthProperty
, bind);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
199
itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2397
BindingOperations.SetBinding(popup, Popup.
WidthProperty
, binding);
2414
popup.ClearValue(Popup.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1274
menuItem._itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
430
_textBlock1.ClearValue(TextBlock.
WidthProperty
);