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