47 references to HeightProperty
PresentationFramework (41)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
223
snc.SetValue(FrameworkElement.
HeightProperty
, height);
227
snc.ClearValue(FrameworkElement.
HeightProperty
);
816
double height = (double)snc.GetValue(FrameworkElement.
HeightProperty
);
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
31
HeightProperty
.OverrideMetadata(
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
33
HeightProperty
.OverrideMetadata(
System\Windows\Controls\DataGridRow.cs (4)
489
PersistAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
584
cellsPresenter.ClearValue(DataGridCellsPresenter.
HeightProperty
);
587
_owner.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.
HeightProperty
);
1014
RestoreAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
System\Windows\Controls\InkCanvas.cs (1)
130
trigger.Property =
HeightProperty
;
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (5)
42
HeightProperty
.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight));
109
DataGridHelper.TransferProperty(this,
HeightProperty
);
204
HeightProperty
,
411
else if (e.Property == DataGrid.RowHeightProperty || e.Property ==
HeightProperty
)
413
DataGridHelper.TransferProperty(this,
HeightProperty
);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
39
HeightProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight));
118
DataGridHelper.TransferProperty(this,
HeightProperty
);
434
else if (e.Property == DataGrid.ColumnHeaderHeightProperty || e.Property ==
HeightProperty
)
436
DataGridHelper.TransferProperty(this,
HeightProperty
);
808
HeightProperty
,
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (3)
84
DataGridHelper.TransferProperty(fillerColumnHeader, DataGridColumnHeader.
HeightProperty
);
780
_columnHeaderDragIndicator.CoerceValue(
HeightProperty
);
810
_columnHeaderDropLocationIndicator.CoerceValue(
HeightProperty
);
System\Windows\Controls\Primitives\PopupRoot.cs (1)
267
_adornerDecorator.SetBinding(
HeightProperty
, binding);
System\Windows\Controls\StickyNote.cs (1)
1203
SetCurrentValueInternal(
HeightProperty
, hNew);
System\Windows\Controls\TextBox.cs (3)
59
HeightProperty
.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
1808
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
1846
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
System\Windows\Controls\ToolBarTray.cs (4)
578
prevToolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
624
toolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
643
toolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
656
currentToolBar.ClearValue(fHorizontal ? WidthProperty :
HeightProperty
);
System\Windows\Documents\TextSchema.cs (1)
1174
FrameworkElement.
HeightProperty
,
System\Windows\FrameworkElement.cs (3)
2260
if (!BypassLayoutPolicies || !((dp == WidthProperty) || (dp ==
HeightProperty
)))
3584
get { return (double) GetValue(
HeightProperty
); }
3585
set { SetValue(
HeightProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2495
DependencyProperty dp = System.Windows.FrameworkElement.
HeightProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1774
return System.Windows.FrameworkElement.
HeightProperty
;
System\Windows\Window.cs (3)
64
HeightProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged)));
4650
SetValue(
HeightProperty
, restoreRect.Height);
4679
SetValue(FrameworkElement.
HeightProperty
, ptLogicalUnits.Y);
PresentationUI (2)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
730
_zoomComboBox.SetBinding(ContentControl.
HeightProperty
, bind);
782
_pageTextBox.SetBinding(ContentControl.
HeightProperty
, bind);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
204
itemsPresenter.ClearValue(FrameworkElement.
HeightProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
2423
BindingOperations.SetBinding(popup, Popup.
HeightProperty
, binding);
2435
popup.ClearValue(Popup.
HeightProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1286
menuItem._itemsPresenter.ClearValue(FrameworkElement.
HeightProperty
);