185 references to CoerceValue
PresentationCore (9)
Core\CSharp\System\Windows\UIElement.cs (7)
4236
uiElement.
CoerceValue
(IsEnabledProperty);
4240
uiElement3D.
CoerceValue
(IsEnabledProperty);
4252
uiElement.
CoerceValue
(IsHitTestVisibleProperty);
4256
uiElement3D.
CoerceValue
(IsHitTestVisibleProperty);
4282
contentElement.
CoerceValue
(IsEnabledProperty);
4312
element.
CoerceValue
(property);
4341
element3D.
CoerceValue
(property);
Core\CSharp\System\Windows\UIElement3D.cs (2)
1409
element3D.
CoerceValue
(property);
1424
element.
CoerceValue
(property);
PresentationFramework (165)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (2)
528
CoerceValue
(CanGoToNextPageProperty);
533
CoerceValue
(CanGoToNextPageProperty);
src\Framework\System\Windows\Controls\Calendar.cs (6)
272
c.
CoerceValue
(DisplayDateProperty);
333
c.
CoerceValue
(DisplayDateEndProperty);
334
c.
CoerceValue
(DisplayDateProperty);
1106
CoerceValue
(DisplayDateStartProperty);
1107
CoerceValue
(DisplayDateEndProperty);
1108
CoerceValue
(DisplayDateProperty);
src\Framework\System\Windows\Controls\ComboBox.cs (6)
192
CoerceValue
(IsDropDownOpenProperty);
252
cb._clonedElement.
CoerceValue
(FrameworkElement.FlowDirectionProperty);
318
comboBox.
CoerceValue
(IsSelectionBoxHighlightedProperty);
319
comboBox.
CoerceValue
(ToolTipService.IsEnabledProperty);
1150
CoerceValue
(IsSelectionBoxHighlightedProperty);
1982
CoerceValue
(IsSelectionBoxHighlightedProperty);
src\Framework\System\Windows\Controls\ContextMenu.cs (1)
500
CoerceValue
(HasDropShadowProperty);
src\Framework\System\Windows\Controls\DataGrid.cs (16)
256
CoerceValue
(FrozenColumnCountProperty);
612
CoerceValue
(AlternationCountProperty);
905
d.
CoerceValue
(ItemContainerStyleProperty);
1017
d.
CoerceValue
(ItemContainerStyleSelectorProperty);
2795
d.
CoerceValue
(CanUserAddRowsProperty);
2796
d.
CoerceValue
(CanUserDeleteRowsProperty);
3819
newItemPlaceholderRow.
CoerceValue
(VisibilityProperty);
4533
dataGrid.
CoerceValue
(IsSynchronizedWithCurrentItemProperty);
5416
d.
CoerceValue
(CanUserAddRowsProperty);
5417
d.
CoerceValue
(CanUserDeleteRowsProperty);
7553
CoerceValue
(FrozenColumnCountProperty);
7560
CoerceValue
(CanUserAddRowsProperty);
7561
CoerceValue
(CanUserDeleteRowsProperty);
7672
CoerceValue
(CanUserAddRowsProperty);
7673
CoerceValue
(CanUserDeleteRowsProperty);
8078
dataGrid.
CoerceValue
(VirtualizingPanel.IsVirtualizingProperty);
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (2)
70
CoerceValue
(IsReadOnlyProperty);
71
CoerceValue
(SortMemberPathProperty);
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
132
CoerceValue
(ClipProperty);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
1320
arrangeState.OldClippedChild.
CoerceValue
(ClipProperty);
1327
_clippedChildForFrozenBehaviour.
CoerceValue
(ClipProperty);
src\Framework\System\Windows\Controls\DataGridColumn.cs (4)
239
column.
CoerceValue
(ActualWidthProperty);
246
column.
CoerceValue
(MaxWidthProperty);
856
CoerceValue
(IsFrozenProperty);
873
CoerceValue
(ActualWidthProperty);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (2)
60
item.
CoerceValue
(DataGridColumn.IsFrozenProperty);
86
item.
CoerceValue
(DataGridColumn.IsFrozenProperty);
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (6)
115
CoerceValue
(IsReadOnlyProperty);
116
CoerceValue
(SortMemberPathProperty);
152
CoerceValue
(IsReadOnlyProperty);
153
CoerceValue
(SortMemberPathProperty);
178
CoerceValue
(IsReadOnlyProperty);
179
CoerceValue
(SortMemberPathProperty);
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
434
d.
CoerceValue
(p);
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
474
CoerceValue
(VirtualizingPanel.ShouldCacheContainerSizeProperty);
1007
CoerceValue
(VisibilityProperty); // Handle NewItemPlaceholder case
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (1)
40
column.
CoerceValue
(CanUserSortProperty);
src\Framework\System\Windows\Controls\DatePicker.cs (7)
212
dp.
CoerceValue
(DisplayDateProperty);
258
dp.
CoerceValue
(DisplayDateEndProperty);
259
dp.
CoerceValue
(DisplayDateProperty);
368
dp.
CoerceValue
(IsDropDownOpenProperty);
434
dp.
CoerceValue
(DisplayDateStartProperty);
435
dp.
CoerceValue
(DisplayDateEndProperty);
436
dp.
CoerceValue
(DisplayDateProperty);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (3)
1800
viewer.
CoerceValue
(ZoomProperty);
1824
viewer.
CoerceValue
(MaxZoomProperty);
1825
viewer.
CoerceValue
(ZoomProperty);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (3)
1691
viewer.
CoerceValue
(ZoomProperty);
1715
viewer.
CoerceValue
(MaxZoomProperty);
1716
viewer.
CoerceValue
(ZoomProperty);
src\Framework\System\Windows\Controls\GridSplitter.cs (2)
120
o.
CoerceValue
(CursorProperty);
383
CoerceValue
(CursorProperty);
src\Framework\System\Windows\Controls\ItemsControl.cs (5)
59
this.
CoerceValue
(VirtualizingPanel.CacheLengthUnitProperty);
76
d.
CoerceValue
(VirtualizingStackPanel.ScrollUnitProperty);
97
d.
CoerceValue
(e.Property);
938
CoerceValue
(VirtualizingStackPanel.ScrollUnitProperty);
941
CoerceValue
(VirtualizingPanel.CacheLengthUnitProperty);
src\Framework\System\Windows\Controls\MenuItem.cs (5)
424
CoerceValue
(HeaderProperty);
425
CoerceValue
(InputGestureTextProperty);
583
CoerceValue
(IsSubmenuOpenProperty);
717
menuItem.
CoerceValue
(ToolTipService.IsEnabledProperty);
2767
CoerceValue
(IsEnabledProperty);
src\Framework\System\Windows\Controls\PopupControlService.cs (12)
1151
o.
CoerceValue
(ContextMenu.HorizontalOffsetProperty);
1152
o.
CoerceValue
(ContextMenu.VerticalOffsetProperty);
1153
o.
CoerceValue
(ContextMenu.PlacementTargetProperty);
1154
o.
CoerceValue
(ContextMenu.PlacementRectangleProperty);
1155
o.
CoerceValue
(ContextMenu.PlacementProperty);
1156
o.
CoerceValue
(ContextMenu.HasDropShadowProperty);
1160
o.
CoerceValue
(ToolTip.HorizontalOffsetProperty);
1161
o.
CoerceValue
(ToolTip.VerticalOffsetProperty);
1162
o.
CoerceValue
(ToolTip.PlacementTargetProperty);
1163
o.
CoerceValue
(ToolTip.PlacementRectangleProperty);
1164
o.
CoerceValue
(ToolTip.PlacementProperty);
1165
o.
CoerceValue
(ToolTip.HasDropShadowProperty);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
765
CoerceValue
(IsEnabledProperty);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (9)
121
CoerceValue
(CanUserSortProperty);
122
CoerceValue
(SortDirectionProperty);
123
CoerceValue
(IsFrozenProperty);
124
CoerceValue
(ClipProperty);
125
CoerceValue
(DisplayIndexProperty);
441
CoerceValue
(DisplayIndexProperty);
450
CoerceValue
(CanUserSortProperty);
454
CoerceValue
(SortDirectionProperty);
458
CoerceValue
(IsFrozenProperty);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
779
_columnHeaderDragIndicator.
CoerceValue
(WidthProperty);
780
_columnHeaderDragIndicator.
CoerceValue
(HeightProperty);
809
_columnHeaderDropLocationIndicator.
CoerceValue
(WidthProperty);
810
_columnHeaderDropLocationIndicator.
CoerceValue
(HeightProperty);
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (2)
242
CoerceValue
(IsRowSelectedProperty);
287
CoerceValue
(IsRowSelectedProperty);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
337
CoerceValue
(IsOpenProperty);
822
d.
CoerceValue
(PopupAnimationProperty);
1600
CoerceValue
(AllowsTransparencyProperty);
1601
CoerceValue
(HasDropShadowProperty);
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (3)
112
ctrl.
CoerceValue
(MaximumProperty);
113
ctrl.
CoerceValue
(ValueProperty);
176
ctrl.
CoerceValue
(ValueProperty);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (3)
738
scrollBar.
CoerceValue
(IsEnabledProperty);
828
CoerceValue
(ContextMenuProperty);
841
CoerceValue
(ContextMenuProperty);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (3)
734
s.
CoerceValue
(SelectedValueProperty);
1155
CoerceValue
(SelectedIndexProperty);
1158
CoerceValue
(SelectedItemProperty);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
87
CoerceValue
(HorizontalScrollBarVisibilityProperty);
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
821
richTextBox.Document.
CoerceValue
(IsEnabledProperty);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (3)
1237
CoerceValue
(ZoomProperty);
1246
CoerceValue
(MaxZoomProperty);
1247
CoerceValue
(ZoomProperty);
src\Framework\System\Windows\Controls\Slider.cs (4)
629
ctrl.
CoerceValue
(SelectionEndProperty);
715
CoerceValue
(SelectionStartProperty);
725
CoerceValue
(SelectionStartProperty);
726
CoerceValue
(SelectionEndProperty);
src\Framework\System\Windows\Controls\TabControl.cs (1)
95
ti.
CoerceValue
(TabItem.TabStripPlacementProperty);
src\Framework\System\Windows\Controls\TabItem.cs (1)
211
CoerceValue
(TabStripPlacementProperty);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1448
CoerceValue
(BaselineOffsetProperty);
src\Framework\System\Windows\Controls\TextBox.cs (1)
1109
CoerceValue
(HorizontalScrollBarVisibilityProperty);
src\Framework\System\Windows\Controls\ToolBar.cs (3)
246
CoerceValue
(IsOverflowOpenProperty);
277
toolBar.
CoerceValue
(ToolTipService.IsEnabledProperty);
727
CoerceValue
(OrientationProperty);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
115
toolbarCollection[i].
CoerceValue
(ToolBar.OrientationProperty);
src\Framework\System\Windows\Controls\ToolTip.cs (1)
518
CoerceValue
(HasDropShadowProperty);
src\Framework\System\Windows\Documents\FlowDocument.cs (7)
1054
CoerceValue
(IsEnabledProperty);
1276
d.
CoerceValue
(MaxPageWidthProperty);
1277
d.
CoerceValue
(PageWidthProperty);
1285
d.
CoerceValue
(MaxPageHeightProperty);
1286
d.
CoerceValue
(PageHeightProperty);
1294
d.
CoerceValue
(PageWidthProperty);
1302
d.
CoerceValue
(PageHeightProperty);
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
229
CoerceValue
(IsEnabledProperty);
src\Framework\System\Windows\FrameworkContentElement.cs (1)
2036
child.
CoerceValue
(property);
src\Framework\System\Windows\FrameworkElement.cs (5)
3100
child.
CoerceValue
(property);
5618
CoerceValue
(TextElement.FontFamilyProperty);
5619
CoerceValue
(TextElement.FontSizeProperty);
5620
CoerceValue
(TextElement.FontStyleProperty);
5621
CoerceValue
(TextElement.FontWeightProperty);
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (1)
231
(d, e) => d.
CoerceValue
(IsEnabledProperty)));
src\Framework\System\Windows\SystemResources.cs (6)
1329
fe.
CoerceValue
(System.Windows.Input.KeyboardNavigation.ShowKeyboardCuesProperty);
1333
fe.
CoerceValue
(TextElement.FontFamilyProperty);
1334
fe.
CoerceValue
(TextElement.FontSizeProperty);
1335
fe.
CoerceValue
(TextElement.FontStyleProperty);
1336
fe.
CoerceValue
(TextElement.FontWeightProperty);
1342
popupRoot.Parent.
CoerceValue
(Popup.HasDropShadowProperty);
src\Framework\System\Windows\Window.cs (8)
2771
CoerceValue
(TopProperty);
2772
CoerceValue
(LeftProperty);
2927
CoerceValue
(TopProperty);
2928
CoerceValue
(LeftProperty);
3020
CoerceValue
(TopProperty);
3021
CoerceValue
(LeftProperty);
5493
CoerceValue
(TopProperty);
5494
CoerceValue
(LeftProperty);
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderCategoryContainer.cs (1)
198
this.
CoerceValue
(IsEmptyProperty);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (3)
254
theThis.
CoerceValue
(CategoryContainer.ShowAdvancedHeaderProperty);
363
editor.
CoerceValue
(CategoryContainer.ShowAdvancedHeaderProperty);
436
this.
CoerceValue
(CategoryContainer.ShowAdvancedHeaderProperty);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (4)
113
this.
CoerceValue
(ChoiceEditor.UseItemTemplateForSelectionProperty);
675
choice.
CoerceValue
(ChoiceEditor.UseItemTemplateForSelectionProperty);
684
choice.
CoerceValue
(ChoiceEditor.UseItemTemplateForSelectionProperty);
877
this.
CoerceValue
(ChoiceEditor.ShowFullControlProperty);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (3)
143
theThis.
CoerceValue
(TargetEditModeProperty);
166
this.
CoerceValue
(TargetEditModeProperty);
180
this.
CoerceValue
(TargetEditModeProperty);