74 references to FrameworkPropertyMetadata
PresentationFramework (71)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (1)
896
CanGoToNextPagePropertyKey.OverrideMetadata(typeof(ReaderTwoPageViewer), new
FrameworkPropertyMetadata
(BooleanBoxes.FalseBox, null, new CoerceValueCallback(CoerceCanGoToNextPage)));
src\Framework\System\Windows\Controls\ComboBox.cs (1)
484
new
FrameworkPropertyMetadata
(BooleanBoxes.FalseBox,
src\Framework\System\Windows\Controls\DataGrid.cs (6)
48
VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(ownerType, new
FrameworkPropertyMetadata
(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty)));
53
AlternationCountProperty.OverrideMetadata(ownerType, new
FrameworkPropertyMetadata
(0, null, new CoerceValueCallback(OnCoerceAlternationCount)));
3465
DependencyProperty.Register("CanUserAddRows", typeof(bool), typeof(DataGrid), new
FrameworkPropertyMetadata
(true, new PropertyChangedCallback(OnCanUserAddRowsChanged), new CoerceValueCallback(OnCoerceCanUserAddRows)));
3515
DependencyProperty.Register("CanUserDeleteRows", typeof(bool), typeof(DataGrid), new
FrameworkPropertyMetadata
(true, new PropertyChangedCallback(OnCanUserDeleteRowsChanged), new CoerceValueCallback(OnCoerceCanUserDeleteRows)));
7079
new
FrameworkPropertyMetadata
(true, new PropertyChangedCallback(OnCanUserSortColumnsPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSortColumns)));
7950
new
FrameworkPropertyMetadata
(0, new PropertyChangedCallback(OnFrozenColumnCountPropertyChanged), new CoerceValueCallback(OnCoerceFrozenColumnCount)),
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
35
StyleProperty.OverrideMetadata(typeof(DataGridCell), new
FrameworkPropertyMetadata
(null, OnNotifyPropertyChanged, OnCoerceStyle));
524
DependencyProperty.RegisterReadOnly("IsReadOnly", typeof(bool), typeof(DataGridCell), new
FrameworkPropertyMetadata
(false, OnNotifyIsReadOnlyChanged, OnCoerceIsReadOnly));
src\Framework\System\Windows\Controls\DataGridColumn.cs (13)
53
DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(null, OnNotifyColumnHeaderPropertyChanged, OnCoerceHeaderStyle));
128
DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(null, OnNotifyCellPropertyChanged, OnCoerceCellStyle));
154
DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(false, OnNotifyCellPropertyChanged, OnCoerceIsReadOnly));
196
new
FrameworkPropertyMetadata
(DataGridLength.Auto, new PropertyChangedCallback(OnWidthPropertyChanged), new CoerceValueCallback(OnCoerceWidth)));
305
new
FrameworkPropertyMetadata
(20d, new PropertyChangedCallback(OnMinWidthPropertyChanged), new CoerceValueCallback(OnCoerceMinWidth)),
344
new
FrameworkPropertyMetadata
(double.PositiveInfinity, new PropertyChangedCallback(OnMaxWidthPropertyChanged), new CoerceValueCallback(OnCoerceMaxWidth)),
481
DependencyProperty.RegisterReadOnly("ActualWidth", typeof(double), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(0.0, null, new CoerceValueCallback(OnCoerceActualWidth)));
976
new
FrameworkPropertyMetadata
(-1, new PropertyChangedCallback(DisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex)));
1043
new
FrameworkPropertyMetadata
(true, new PropertyChangedCallback(OnCanUserSortPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSort)));
1255
new
FrameworkPropertyMetadata
(false, new PropertyChangedCallback(OnNotifyFrozenPropertyChanged), new CoerceValueCallback(OnCoerceIsFrozen)));
1315
DependencyProperty.Register("CanUserReorder", typeof(bool), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged), new CoerceValueCallback(OnCoerceCanUserReorder)));
1341
DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(null, OnNotifyColumnPropertyChanged, OnCoerceDragIndicatorStyle));
1474
DependencyProperty.Register("CanUserResize", typeof(bool), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(true, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged), new CoerceValueCallback(OnCoerceCanUserResize)));
src\Framework\System\Windows\Controls\DataGridRow.cs (8)
106
BackgroundProperty.OverrideMetadata(typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyRowPropertyChanged, OnCoerceBackground));
306
DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle));
321
DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate));
336
DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector));
351
DependencyProperty.Register("ValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyRowPropertyChanged, OnCoerceValidationErrorTemplate));
370
DependencyProperty.Register("DetailsTemplate", typeof(DataTemplate), typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate));
385
DependencyProperty.Register("DetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new
FrameworkPropertyMetadata
(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector));
400
DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new
FrameworkPropertyMetadata
(Visibility.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
554
new
FrameworkPropertyMetadata
(
565
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
372
new
FrameworkPropertyMetadata
(
383
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\Frame.cs (2)
381
new
FrameworkPropertyMetadata
(BooleanBoxes.FalseBox,
436
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1097
new
FrameworkPropertyMetadata
(String.Empty,
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
48
new
FrameworkPropertyMetadata
(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty)));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (8)
36
ContentTemplateProperty.OverrideMetadata(typeof(DataGridColumnHeader), new
FrameworkPropertyMetadata
(null, OnNotifyPropertyChanged, OnCoerceContentTemplate));
37
ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new
FrameworkPropertyMetadata
(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector));
38
ContentStringFormatProperty.OverrideMetadata(typeof(DataGridColumnHeader), new
FrameworkPropertyMetadata
(null, OnNotifyPropertyChanged, OnCoerceStringFormat));
39
StyleProperty.OverrideMetadata(typeof(DataGridColumnHeader), new
FrameworkPropertyMetadata
(null, OnNotifyPropertyChanged, OnCoerceStyle));
153
new
FrameworkPropertyMetadata
(-1, new PropertyChangedCallback(OnDisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex)));
718
new
FrameworkPropertyMetadata
(true, null, new CoerceValueCallback(OnCoerceCanUserSort)));
741
new
FrameworkPropertyMetadata
(null, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceSortDirection)));
874
new
FrameworkPropertyMetadata
(false, null, new CoerceValueCallback(OnCoerceIsFrozen)));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
48
new
FrameworkPropertyMetadata
(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty)));
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
533
new
FrameworkPropertyMetadata
(false, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceIsRowSelected)));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
65
VisibilityProperty.OverrideMetadata(typeof(Popup), new
FrameworkPropertyMetadata
(VisibilityBoxes.CollapsedBox, null, new CoerceValueCallback(CoerceVisibility)));
770
new
FrameworkPropertyMetadata
(PopupAnimation.None,
806
new
FrameworkPropertyMetadata
(
836
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
136
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\SinglePageViewer.cs (2)
256
new
FrameworkPropertyMetadata
(
270
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\TabItem.cs (1)
180
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\TextBox.cs (1)
75
HorizontalScrollBarVisibilityProperty.OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\ToolBar.cs (1)
112
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Documents\FixedPage.cs (1)
564
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
336
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Window.cs (10)
87
VisibilityProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(Visibility.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility)));
101
RenderTransformProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(Transform.Identity, new PropertyChangedCallback(_OnRenderTransformChanged), new CoerceValueCallback(CoerceRenderTransform)));
102
ClipToBoundsProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(BooleanBoxes.FalseBox, new PropertyChangedCallback(_OnClipToBoundsChanged), new CoerceValueCallback(CoerceClipToBounds)));
809
new
FrameworkPropertyMetadata
(
992
new
FrameworkPropertyMetadata
(
1043
new
FrameworkPropertyMetadata
(
1192
new
FrameworkPropertyMetadata
(BooleanBoxes.TrueBox,
1464
new
FrameworkPropertyMetadata
(
1605
new
FrameworkPropertyMetadata
(BooleanBoxes.FalseBox,
1639
new
FrameworkPropertyMetadata
(BooleanBoxes.TrueBox,
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
54
public static readonly DependencyProperty UseItemTemplateForSelectionProperty = DependencyProperty.Register("UseItemTemplateForSelection", typeof(Nullable<bool>), typeof(ChoiceEditor), new
FrameworkPropertyMetadata
(null, null, new CoerceValueCallback(ChoiceEditor.CoerceUseItemTemplateForSelection)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (1)
46
new
FrameworkPropertyMetadata
(
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
54
new
FrameworkPropertyMetadata
(null, new PropertyChangedCallback(OnTextChanged), new CoerceValueCallback(OnTextCoerceValue)));