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