47 references to HeightProperty
PresentationFramework (41)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
212
snc.SetValue(FrameworkElement.
HeightProperty
, height);
216
snc.ClearValue(FrameworkElement.
HeightProperty
);
805
double height = (double)snc.GetValue(FrameworkElement.
HeightProperty
);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
26
HeightProperty
.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
28
HeightProperty
.OverrideMetadata(
System\Windows\Controls\DataGridRow.cs (4)
484
PersistAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
579
cellsPresenter.ClearValue(DataGridCellsPresenter.
HeightProperty
);
580
_owner?.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.
HeightProperty
);
993
RestoreAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
System\Windows\Controls\InkCanvas.cs (1)
122
Property =
HeightProperty
,
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (5)
36
HeightProperty
.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight));
103
DataGridHelper.TransferProperty(this,
HeightProperty
);
198
HeightProperty
,
402
else if (e.Property == DataGrid.RowHeightProperty || e.Property ==
HeightProperty
)
404
DataGridHelper.TransferProperty(this,
HeightProperty
);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
33
HeightProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight));
112
DataGridHelper.TransferProperty(this,
HeightProperty
);
419
else if (e.Property == DataGrid.ColumnHeaderHeightProperty || e.Property ==
HeightProperty
)
421
DataGridHelper.TransferProperty(this,
HeightProperty
);
787
HeightProperty
,
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (3)
78
DataGridHelper.TransferProperty(fillerColumnHeader, DataGridColumnHeader.
HeightProperty
);
770
_columnHeaderDragIndicator.CoerceValue(
HeightProperty
);
802
_columnHeaderDropLocationIndicator.CoerceValue(
HeightProperty
);
System\Windows\Controls\Primitives\PopupRoot.cs (1)
261
_adornerDecorator.SetBinding(
HeightProperty
, binding);
System\Windows\Controls\StickyNote.cs (1)
1164
SetCurrentValueInternal(
HeightProperty
, hNew);
System\Windows\Controls\TextBox.cs (3)
51
HeightProperty
.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
1802
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
1840
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
System\Windows\Controls\ToolBarTray.cs (4)
569
prevToolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
615
toolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
634
toolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
647
currentToolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
System\Windows\Documents\TextSchema.cs (1)
1167
FrameworkElement.
HeightProperty
,
System\Windows\FrameworkElement.cs (3)
2240
if (!BypassLayoutPolicies || !((dp == WidthProperty) || (dp ==
HeightProperty
)))
3563
get { return (double) GetValue(
HeightProperty
); }
3564
set { SetValue(
HeightProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2558
DependencyProperty dp = System.Windows.FrameworkElement.
HeightProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1767
return System.Windows.FrameworkElement.
HeightProperty
;
System\Windows\Window.cs (3)
45
HeightProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged)));
4617
SetValue(
HeightProperty
, restoreRect.Height);
4646
SetValue(FrameworkElement.
HeightProperty
, ptLogicalUnits.Y);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
719
_zoomComboBox.SetBinding(ContentControl.
HeightProperty
, bind);
775
_pageTextBox.SetBinding(ContentControl.
HeightProperty
, bind);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
198
itemsPresenter.ClearValue(FrameworkElement.
HeightProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2403
BindingOperations.SetBinding(popup, Popup.
HeightProperty
, binding);
2415
popup.ClearValue(Popup.
HeightProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1273
menuItem._itemsPresenter.ClearValue(FrameworkElement.
HeightProperty
);