37 references to WidthProperty
PresentationFramework (30)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
228
snc.SetValue(FrameworkElement.
WidthProperty
, width);
232
snc.ClearValue(FrameworkElement.
WidthProperty
);
814
double width = (double)snc.GetValue(FrameworkElement.
WidthProperty
);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
23
WidthProperty
.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
25
WidthProperty
.OverrideMetadata(
System\Windows\Controls\GridViewColumn.cs (1)
378
FrameworkElement.
WidthProperty
.AddOwner(
System\Windows\Controls\InkCanvas.cs (1)
109
Property =
WidthProperty
,
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
770
_columnHeaderDragIndicator.CoerceValue(
WidthProperty
);
802
_columnHeaderDropLocationIndicator.CoerceValue(
WidthProperty
);
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
124
WidthProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth));
235
DataGridHelper.TransferProperty(this,
WidthProperty
);
275
else if (e.Property == DataGrid.RowHeaderWidthProperty || e.Property ==
WidthProperty
)
277
DataGridHelper.TransferProperty(this,
WidthProperty
);
390
WidthProperty
,
System\Windows\Controls\Primitives\PopupRoot.cs (1)
255
_adornerDecorator.SetBinding(
WidthProperty
, binding);
System\Windows\Controls\RichTextBox.cs (1)
779
this.RenderScope.ClearValue(FlowDocumentView.
WidthProperty
);
System\Windows\Controls\StickyNote.cs (1)
1164
SetCurrentValueInternal(
WidthProperty
, wNew);
System\Windows\Controls\ToolBarTray.cs (4)
570
prevToolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
616
toolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
635
toolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
648
currentToolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
System\Windows\Documents\TextSchema.cs (1)
1165
FrameworkElement.
WidthProperty
,
System\Windows\FrameworkElement.cs (3)
2241
if (!BypassLayoutPolicies || !((dp ==
WidthProperty
) || (dp == HeightProperty)))
3485
get { return (double) GetValue(
WidthProperty
); }
3486
set { SetValue(
WidthProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2746
DependencyProperty dp = System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1788
return System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Window.cs (3)
49
WidthProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged)));
4617
SetValue(
WidthProperty
, restoreRect.Width);
4646
SetValue(FrameworkElement.
WidthProperty
, ptLogicalUnits.X);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
714
_zoomComboBox.SetBinding(ContentControl.
WidthProperty
, bind);
770
_pageTextBox.SetBinding(ContentControl.
WidthProperty
, bind);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
200
itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2398
BindingOperations.SetBinding(popup, Popup.
WidthProperty
, binding);
2415
popup.ClearValue(Popup.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1275
menuItem._itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
431
_textBlock1.ClearValue(TextBlock.
WidthProperty
);