102 references to FrameworkPropertyMetadata
PresentationFramework (84)
src\Framework\System\Windows\Controls\AccessText.cs (1)
399
TextBlock.BaselineOffsetProperty.AddOwner(typeof(AccessText), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnPropertyChanged)));
src\Framework\System\Windows\Controls\Button.cs (1)
36
IsEnabledProperty.OverrideMetadata(typeof(Button), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
src\Framework\System\Windows\Controls\Calendar.cs (1)
87
LanguageProperty.OverrideMetadata(typeof(Calendar), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnLanguageChanged)));
src\Framework\System\Windows\Controls\ComboBox.cs (1)
72
IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\DataGrid.cs (3)
54
IsEnabledProperty.OverrideMetadata(ownerType, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
55
IsKeyboardFocusWithinPropertyKey.OverrideMetadata(ownerType, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnIsKeyboardFocusWithinChanged)));
8167
DependencyProperty.Register("DropLocationIndicatorStyle", typeof(Style), typeof(DataGrid), new
FrameworkPropertyMetadata
(null));
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
785
DependencyProperty.RegisterAttached("OriginalValue", typeof(object), typeof(DataGridColumn), new
FrameworkPropertyMetadata
(null));
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
107
BindingGroupProperty.OverrideMetadata(typeof(DataGridRow), new
FrameworkPropertyMetadata
(OnNotifyRowPropertyChanged));
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (1)
30
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnTemplateColumnSortMemberPathChanged)));
src\Framework\System\Windows\Controls\DefinitionBase.cs (2)
983
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnSharedSizeGroupPropertyChanged)),
993
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnPrivateSharedSizeScopePropertyChanged)));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
59
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
64
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
src\Framework\System\Windows\Controls\Frame.cs (1)
142
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnParentNavigationServiceChanged)));
src\Framework\System\Windows\Controls\GridView.cs (2)
276
new
FrameworkPropertyMetadata
(
310
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\GridViewColumn.cs (4)
92
new
FrameworkPropertyMetadata
(
140
new
FrameworkPropertyMetadata
(
171
new
FrameworkPropertyMetadata
(
204
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (5)
73
StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(PropertyChanged)));
74
ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(PropertyChanged)));
75
ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(PropertyChanged)));
76
ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(PropertyChanged)));
77
ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(PropertyChanged)));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
58
new
FrameworkPropertyMetadata
(
81
new
FrameworkPropertyMetadata
(
104
new
FrameworkPropertyMetadata
(
131
new
FrameworkPropertyMetadata
(
179
new
FrameworkPropertyMetadata
(
202
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
69
VirtualizingPanel.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnCacheSizeChanged)));
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
58
Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Page.cs (2)
58
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnWindowServiceChanged)));
144
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnContentChanged)));
src\Framework\System\Windows\Controls\PasswordBox.cs (7)
67
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnPasswordCharChanged)));
71
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnPaddingChanged)));
74
NavigationService.NavigationServiceProperty.OverrideMetadata(typeof(PasswordBox), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnParentNavigationServiceChanged)));
90
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
92
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
94
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
96
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
83
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridColumnHeader), new
FrameworkPropertyMetadata
(null));
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
161
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridRowHeader), new
FrameworkPropertyMetadata
(null));
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
42
TextProperty.OverrideMetadata(typeof(DatePickerTextBox), new
FrameworkPropertyMetadata
(OnVisualStatePropertyChanged));
src\Framework\System\Windows\Controls\Primitives\ResizeGrip.cs (1)
54
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnWindowServiceChanged)));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (2)
721
MaximumProperty.OverrideMetadata(typeof(ScrollBar), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(ViewChanged)));
722
MinimumProperty.OverrideMetadata(typeof(ScrollBar), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(ViewChanged)));
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
323
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnCanContentScrollChanged)));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
67
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnScrollViewerPropertyChanged)));
72
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnInputMethodEnabledPropertyChanged)));
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
52
ForegroundProperty.OverrideMetadata(typeof(ProgressBar), new
FrameworkPropertyMetadata
(OnForegroundChanged));
src\Framework\System\Windows\Controls\RichTextBox.cs (2)
655
inheritableFormattingProperties[i].OverrideMetadata(typeof(RichTextBox), new
FrameworkPropertyMetadata
(formattingPropertyCallback));
663
inheritableBehavioralProperties[i].OverrideMetadata(typeof(RichTextBox), new
FrameworkPropertyMetadata
(behavioralPropertyCallback));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
61
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(UpdateCaretElement)));
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
70
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Controls\SpellCheck.cs (1)
106
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnIsEnabledChanged)));
src\Framework\System\Windows\Controls\StickyNote.cs (6)
144
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_UpdateInkDrawingAttributes)));
146
FontFamilyProperty.OverrideMetadata(owner, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnFontPropertyChanged)));
147
FontSizeProperty.OverrideMetadata(owner, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnFontPropertyChanged)));
148
FontStretchProperty.OverrideMetadata(owner, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnFontPropertyChanged)));
149
FontStyleProperty.OverrideMetadata(owner, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnFontPropertyChanged)));
150
FontWeightProperty.OverrideMetadata(owner, new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnFontPropertyChanged)));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
343
typographyProperties[i].OverrideMetadata(typeof(TextBlock), new
FrameworkPropertyMetadata
(onTypographyChanged));
src\Framework\System\Windows\Controls\TextBox.cs (6)
61
HeightProperty.OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(callback));
62
MinHeightProperty.OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(callback));
63
MaxHeightProperty.OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(callback));
64
FontFamilyProperty.OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(callback));
65
FontSizeProperty.OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(callback));
72
typographyProperties[i].OverrideMetadata(typeof(TextBox), new
FrameworkPropertyMetadata
(onTypographyChanged));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
46
Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(TreeViewItem), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
57
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnCollectionPropertyChanged)));
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
72
new
FrameworkPropertyMetadata
(new PropertyChangedCallback(FixedHyperLink.OnNavigationServiceChanged)));
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
92
typographyProperties[i].OverrideMetadata(_typeofThis, new
FrameworkPropertyMetadata
(typographyChanged));
src\Framework\System\Windows\Documents\TextElement.cs (1)
56
typographyProperties[i].OverrideMetadata(typeof(TextElement), new
FrameworkPropertyMetadata
(typographyChanged));
src\Framework\System\Windows\FrameworkElement.cs (1)
2417
new
FrameworkPropertyMetadata
(
src\Framework\System\Windows\Window.cs (7)
74
HeightProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnHeightChanged)));
75
MinHeightProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnMinHeightChanged)));
76
MaxHeightProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnMaxHeightChanged)));
77
WidthProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnWidthChanged)));
78
MinWidthProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnMinWidthChanged)));
79
MaxWidthProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnMaxWidthChanged)));
98
FlowDirectionProperty.OverrideMetadata(typeof(Window), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(_OnFlowDirectionChanged)));
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
36
IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(OnEnabledChanged)));
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
147
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new
FrameworkPropertyMetadata
(null));
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
147
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new
FrameworkPropertyMetadata
(null));
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
147
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new
FrameworkPropertyMetadata
(null));
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
147
DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new
FrameworkPropertyMetadata
(null));
System.Activities.Core.Presentation (3)
System\Activities\Core\Presentation\FlowSwitchLink.cs (3)
18
static DependencyProperty caseProperty = DependencyProperty.Register("Case", typeof(T), typeof(FlowSwitchLink<T>), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(FlowSwitchLink<T>.OnCasePropertyChanged)));
19
static DependencyProperty isDefaultCaseProperty = DependencyProperty.Register("IsDefault", typeof(bool), typeof(FlowSwitchLink<T>), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(FlowSwitchLink<T>.OnIsDefaultCasePropertyChanged)));
353
static DependencyProperty defaultCaseDisplayNameProperty = DependencyProperty.Register(FlowSwitchLabelFeature.DefaultCaseDisplayNamePropertyName, typeof(string), typeof(FlowSwitchDefaultLink<T>), new
FrameworkPropertyMetadata
(new PropertyChangedCallback(FlowSwitchDefaultLink<T>.OnDefaultCaseDisplayNamePropertyChanged)));
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
48
public static readonly DependencyProperty IconResourcePrefixProperty = DependencyProperty.Register("IconResourcePrefix", typeof(string), typeof(ChoiceEditor), new
FrameworkPropertyMetadata
(null));
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (3)
28
new
FrameworkPropertyMetadata
(null));
31
new
FrameworkPropertyMetadata
(null));
37
new
FrameworkPropertyMetadata
(null));
System.Activities.Presentation\System\Activities\Presentation\Expressions\TextualExpressionEditor.cs (1)
26
new
FrameworkPropertyMetadata
(null));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
43
new
FrameworkPropertyMetadata
(null));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
43
new
FrameworkPropertyMetadata
(OnActivitySchemaChanged));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (3)
39
new
FrameworkPropertyMetadata
(null));
48
new
FrameworkPropertyMetadata
(null));
69
new
FrameworkPropertyMetadata
(null));