31 references to WidthProperty
PresentationFramework (30)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
244snc.SetValue(FrameworkElement.WidthProperty, width); 248snc.ClearValue(FrameworkElement.WidthProperty); 831double width = (double)snc.GetValue(FrameworkElement.WidthProperty);
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
28WidthProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
30WidthProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\GridViewColumn.cs (1)
381FrameworkElement.WidthProperty.AddOwner(
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
131trigger.Property = WidthProperty;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
779_columnHeaderDragIndicator.CoerceValue(WidthProperty); 809_columnHeaderDropLocationIndicator.CoerceValue(WidthProperty);
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
130WidthProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth)); 241DataGridHelper.TransferProperty(this, WidthProperty); 281else if (e.Property == DataGrid.RowHeaderWidthProperty || e.Property == WidthProperty) 283DataGridHelper.TransferProperty(this, WidthProperty); 396WidthProperty,
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
259_adornerDecorator.SetBinding(WidthProperty, binding);
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
795this.RenderScope.ClearValue(FlowDocumentView.WidthProperty);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1212SetCurrentValueInternal(WidthProperty, wNew);
src\Framework\System\Windows\Controls\ToolBarTray.cs (4)
589prevToolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty); 636toolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty); 655toolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty); 668currentToolBar.ClearValue(fHorizontal ? WidthProperty : HeightProperty);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
1173FrameworkElement.WidthProperty,
src\Framework\System\Windows\FrameworkElement.cs (3)
2257if (!BypassLayoutPolicies || !((dp == WidthProperty) || (dp == HeightProperty))) 3504get { return (double) GetValue(WidthProperty); } 3505set { SetValue(WidthProperty, value); }
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2656DependencyProperty dp = System.Windows.FrameworkElement.WidthProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1795return System.Windows.FrameworkElement.WidthProperty;
src\Framework\System\Windows\Window.cs (3)
77WidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged))); 4795SetValue(WidthProperty, restoreRect.Width); 4824SetValue(FrameworkElement.WidthProperty, ptLogicalUnits.X);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
829style.Setters.Add(new Setter(DataGridCell.WidthProperty, new Binding("Column.ActualWidth")