41 references to HeightProperty
PresentationFramework (41)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
229
snc.SetValue(FrameworkElement.
HeightProperty
, height);
233
snc.ClearValue(FrameworkElement.
HeightProperty
);
823
double height = (double)snc.GetValue(FrameworkElement.
HeightProperty
);
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
32
HeightProperty
.OverrideMetadata(
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
34
HeightProperty
.OverrideMetadata(
src\Framework\System\Windows\Controls\DataGridRow.cs (4)
490
PersistAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
585
cellsPresenter.ClearValue(DataGridCellsPresenter.
HeightProperty
);
588
_owner.ItemAttachedStorage.ClearValue(Item, DataGridCellsPresenter.
HeightProperty
);
1015
RestoreAttachedItemValue(cellsPresenter, DataGridCellsPresenter.
HeightProperty
);
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
141
trigger.Property =
HeightProperty
;
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (5)
43
HeightProperty
.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight));
110
DataGridHelper.TransferProperty(this,
HeightProperty
);
205
HeightProperty
,
412
else if (e.Property == DataGrid.RowHeightProperty || e.Property ==
HeightProperty
)
414
DataGridHelper.TransferProperty(this,
HeightProperty
);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
40
HeightProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight));
119
DataGridHelper.TransferProperty(this,
HeightProperty
);
435
else if (e.Property == DataGrid.ColumnHeaderHeightProperty || e.Property ==
HeightProperty
)
437
DataGridHelper.TransferProperty(this,
HeightProperty
);
809
HeightProperty
,
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (3)
84
DataGridHelper.TransferProperty(fillerColumnHeader, DataGridColumnHeader.
HeightProperty
);
780
_columnHeaderDragIndicator.CoerceValue(
HeightProperty
);
810
_columnHeaderDropLocationIndicator.CoerceValue(
HeightProperty
);
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
264
_adornerDecorator.SetBinding(
HeightProperty
, binding);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1213
SetCurrentValueInternal(
HeightProperty
, hNew);
src\Framework\System\Windows\Controls\TextBox.cs (3)
61
HeightProperty
.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback));
1801
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
1839
if (ReadLocalValue(
HeightProperty
) != DependencyProperty.UnsetValue ||
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)
1176
FrameworkElement.
HeightProperty
,
src\Framework\System\Windows\FrameworkElement.cs (3)
2257
if (!BypassLayoutPolicies || !((dp == WidthProperty) || (dp ==
HeightProperty
)))
3583
get { return (double) GetValue(
HeightProperty
); }
3584
set { SetValue(
HeightProperty
, value); }
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2487
DependencyProperty dp = System.Windows.FrameworkElement.
HeightProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1775
return System.Windows.FrameworkElement.
HeightProperty
;
src\Framework\System\Windows\Window.cs (3)
74
HeightProperty
.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged)));
4796
SetValue(
HeightProperty
, restoreRect.Height);
4825
SetValue(FrameworkElement.
HeightProperty
, ptLogicalUnits.Y);