37 references to WidthProperty
PresentationFramework (30)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
238
snc.SetValue(FrameworkElement.
WidthProperty
, width);
242
snc.ClearValue(FrameworkElement.
WidthProperty
);
824
double width = (double)snc.GetValue(FrameworkElement.
WidthProperty
);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
27
WidthProperty
.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
29
WidthProperty
.OverrideMetadata(
System\Windows\Controls\GridViewColumn.cs (1)
379
FrameworkElement.
WidthProperty
.AddOwner(
System\Windows\Controls\InkCanvas.cs (1)
120
trigger.Property =
WidthProperty
;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
779
_columnHeaderDragIndicator.CoerceValue(
WidthProperty
);
809
_columnHeaderDropLocationIndicator.CoerceValue(
WidthProperty
);
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
129
WidthProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth));
240
DataGridHelper.TransferProperty(this,
WidthProperty
);
280
else if (e.Property == DataGrid.RowHeaderWidthProperty || e.Property ==
WidthProperty
)
282
DataGridHelper.TransferProperty(this,
WidthProperty
);
395
WidthProperty
,
System\Windows\Controls\Primitives\PopupRoot.cs (1)
262
_adornerDecorator.SetBinding(
WidthProperty
, binding);
System\Windows\Controls\RichTextBox.cs (1)
781
this.RenderScope.ClearValue(FlowDocumentView.
WidthProperty
);
System\Windows\Controls\StickyNote.cs (1)
1202
SetCurrentValueInternal(
WidthProperty
, wNew);
System\Windows\Controls\ToolBarTray.cs (4)
578
prevToolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
624
toolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
643
toolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
656
currentToolBar.ClearValue(fHorizontal ?
WidthProperty
: HeightProperty);
System\Windows\Documents\TextSchema.cs (1)
1171
FrameworkElement.
WidthProperty
,
System\Windows\FrameworkElement.cs (3)
2260
if (!BypassLayoutPolicies || !((dp ==
WidthProperty
) || (dp == HeightProperty)))
3505
get { return (double) GetValue(
WidthProperty
); }
3506
set { SetValue(
WidthProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2664
DependencyProperty dp = System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1794
return System.Windows.FrameworkElement.
WidthProperty
;
System\Windows\Window.cs (3)
67
WidthProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged)));
4649
SetValue(
WidthProperty
, restoreRect.Width);
4678
SetValue(FrameworkElement.
WidthProperty
, ptLogicalUnits.X);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
726
_zoomComboBox.SetBinding(ContentControl.
WidthProperty
, bind);
778
_pageTextBox.SetBinding(ContentControl.
WidthProperty
, bind);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
205
itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2419
BindingOperations.SetBinding(popup, Popup.
WidthProperty
, binding);
2434
popup.ClearValue(Popup.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1287
menuItem._itemsPresenter.ClearValue(FrameworkElement.
WidthProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
434
_textBlock1.ClearValue(TextBlock.
WidthProperty
);