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)
108
trigger.Property =
WidthProperty
;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
774
_columnHeaderDragIndicator.CoerceValue(
WidthProperty
);
804
_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)
253
_adornerDecorator.SetBinding(
WidthProperty
, binding);
System\Windows\Controls\RichTextBox.cs (1)
777
this.RenderScope.ClearValue(FlowDocumentView.
WidthProperty
);
System\Windows\Controls\StickyNote.cs (1)
1186
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)
1170
FrameworkElement.
WidthProperty
,
System\Windows\FrameworkElement.cs (3)
2249
if (!BypassLayoutPolicies || !((dp ==
WidthProperty
) || (dp == HeightProperty)))
3494
get { return (double) GetValue(
WidthProperty
); }
3495
set { SetValue(
WidthProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2662
DependencyProperty dp = System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1794
return System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Window.cs (3)
54
WidthProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged)));
4636
SetValue(
WidthProperty
, restoreRect.Width);
4665
SetValue(FrameworkElement.
WidthProperty
, ptLogicalUnits.X);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
719
_zoomComboBox.SetBinding(ContentControl.
WidthProperty
, bind);
771
_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)
2414
BindingOperations.SetBinding(popup, Popup.
WidthProperty
, binding);
2429
popup.ClearValue(Popup.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1284
menuItem._itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
431
_textBlock1.ClearValue(TextBlock.
WidthProperty
);