47 references to HeightProperty
PresentationFramework (41)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
213
snc.SetValue(FrameworkElement.
HeightProperty
, height);
217
snc.ClearValue(FrameworkElement.
HeightProperty
);
806
double height = (double)snc.GetValue(FrameworkElement.
HeightProperty
);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
27
HeightProperty
.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
29
HeightProperty
.OverrideMetadata(
System\Windows\Controls\DataGridRow.cs (4)
485
PersistAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
580
cellsPresenter.ClearValue(DataGridCellsPresenter.
HeightProperty
);
583
_owner.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.
HeightProperty
);
1009
RestoreAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
System\Windows\Controls\InkCanvas.cs (1)
123
Property =
HeightProperty
,
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (5)
37
HeightProperty
.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight));
104
DataGridHelper.TransferProperty(this,
HeightProperty
);
199
HeightProperty
,
406
else if (e.Property == DataGrid.RowHeightProperty || e.Property ==
HeightProperty
)
408
DataGridHelper.TransferProperty(this,
HeightProperty
);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
34
HeightProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight));
113
DataGridHelper.TransferProperty(this,
HeightProperty
);
429
else if (e.Property == DataGrid.ColumnHeaderHeightProperty || e.Property ==
HeightProperty
)
431
DataGridHelper.TransferProperty(this,
HeightProperty
);
803
HeightProperty
,
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (3)
79
DataGridHelper.TransferProperty(fillerColumnHeader, DataGridColumnHeader.
HeightProperty
);
777
_columnHeaderDragIndicator.CoerceValue(
HeightProperty
);
809
_columnHeaderDropLocationIndicator.CoerceValue(
HeightProperty
);
System\Windows\Controls\Primitives\PopupRoot.cs (1)
262
_adornerDecorator.SetBinding(
HeightProperty
, binding);
System\Windows\Controls\StickyNote.cs (1)
1176
SetCurrentValueInternal(
HeightProperty
, hNew);
System\Windows\Controls\TextBox.cs (3)
52
HeightProperty
.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
1803
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
1841
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
System\Windows\Controls\ToolBarTray.cs (4)
570
prevToolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
616
toolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
635
toolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
648
currentToolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
System\Windows\Documents\TextSchema.cs (1)
1168
FrameworkElement.
HeightProperty
,
System\Windows\FrameworkElement.cs (3)
2244
if (!BypassLayoutPolicies || !((dp == WidthProperty) || (dp ==
HeightProperty
)))
3570
get { return (double) GetValue(
HeightProperty
); }
3571
set { SetValue(
HeightProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2559
DependencyProperty dp = System.Windows.FrameworkElement.
HeightProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1768
return System.Windows.FrameworkElement.
HeightProperty
;
System\Windows\Window.cs (3)
46
HeightProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged)));
4631
SetValue(
HeightProperty
, restoreRect.Height);
4660
SetValue(FrameworkElement.
HeightProperty
, ptLogicalUnits.Y);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
723
_zoomComboBox.SetBinding(ContentControl.
HeightProperty
, bind);
779
_pageTextBox.SetBinding(ContentControl.
HeightProperty
, bind);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
199
itemsPresenter.ClearValue(FrameworkElement.
HeightProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2428
BindingOperations.SetBinding(popup, Popup.
HeightProperty
, binding);
2440
popup.ClearValue(Popup.
HeightProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1283
menuItem._itemsPresenter.ClearValue(FrameworkElement.
HeightProperty
);