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