37 references to WidthProperty
PresentationFramework (30)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
228snc.SetValue(FrameworkElement.WidthProperty, width); 232snc.ClearValue(FrameworkElement.WidthProperty); 814double width = (double)snc.GetValue(FrameworkElement.WidthProperty);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
23WidthProperty.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
25WidthProperty.OverrideMetadata(
System\Windows\Controls\GridViewColumn.cs (1)
378FrameworkElement.WidthProperty.AddOwner(
System\Windows\Controls\InkCanvas.cs (1)
108trigger.Property = WidthProperty;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
774_columnHeaderDragIndicator.CoerceValue(WidthProperty); 804_columnHeaderDropLocationIndicator.CoerceValue(WidthProperty);
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
124WidthProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth)); 235DataGridHelper.TransferProperty(this, WidthProperty); 275else if (e.Property == DataGrid.RowHeaderWidthProperty || e.Property == WidthProperty) 277DataGridHelper.TransferProperty(this, WidthProperty); 390WidthProperty,
System\Windows\Controls\Primitives\PopupRoot.cs (1)
253_adornerDecorator.SetBinding(WidthProperty, binding);
System\Windows\Controls\RichTextBox.cs (1)
777this.RenderScope.ClearValue(FlowDocumentView.WidthProperty);
System\Windows\Controls\StickyNote.cs (1)
1186SetCurrentValueInternal(WidthProperty, wNew);
System\Windows\Controls\ToolBarTray.cs (4)
570prevToolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty); 616toolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty); 635toolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty); 648currentToolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty);
System\Windows\Documents\TextSchema.cs (1)
1170FrameworkElement.WidthProperty,
System\Windows\FrameworkElement.cs (3)
2249if (!BypassLayoutPolicies || !((dp == WidthProperty) || (dp == HeightProperty))) 3494get { return (double) GetValue(WidthProperty); } 3495set { SetValue(WidthProperty, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2662DependencyProperty dp = System.Windows.FrameworkElement.WidthProperty;
System\Windows\Markup\KnownTypes.cs (1)
1794return System.Windows.FrameworkElement.WidthProperty;
System\Windows\Window.cs (3)
54WidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged))); 4636SetValue(WidthProperty, restoreRect.Width); 4665SetValue(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)
199itemsPresenter.ClearValue(FrameworkElement.WidthProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2414BindingOperations.SetBinding(popup, Popup.WidthProperty, binding); 2429popup.ClearValue(Popup.WidthProperty);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1284menuItem._itemsPresenter.ClearValue(FrameworkElement.WidthProperty);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (1)
431_textBlock1.ClearValue(TextBlock.WidthProperty);