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