2 types derived from PropertyMetadata
PresentationCore (2)
Core\CSharp\System\Windows\ReadOnlyPropertyMetadata.cs (1)
5internal class ReadOnlyPropertyMetadata : PropertyMetadata
Core\CSharp\System\Windows\UIPropertyMetadata.cs (1)
13public class UIPropertyMetadata : PropertyMetadata
325 instantiations of PropertyMetadata
PresentationCore (204)
Core\CSharp\System\Windows\ContentElement.cs (2)
50new PropertyMetadata( 807new PropertyMetadata(BooleanBoxes.FalseBox));
Core\CSharp\System\Windows\Generated\ContentElement.cs (14)
801new PropertyMetadata( 807new PropertyMetadata( 812new PropertyMetadata( 817new PropertyMetadata( 822new PropertyMetadata( 828new PropertyMetadata( 833new PropertyMetadata( 839new PropertyMetadata( 845new PropertyMetadata( 850new PropertyMetadata( 856new PropertyMetadata( 861new PropertyMetadata( 866new PropertyMetadata( 871new PropertyMetadata(
Core\CSharp\System\Windows\Generated\UIElement.cs (14)
4598new PropertyMetadata( 4652new PropertyMetadata( 4669new PropertyMetadata( 4686new PropertyMetadata( 4734new PropertyMetadata( 4788new PropertyMetadata( 4836new PropertyMetadata( 4890new PropertyMetadata( 4944new PropertyMetadata( 4992new PropertyMetadata( 5046new PropertyMetadata( 5063new PropertyMetadata( 5080new PropertyMetadata( 5097new PropertyMetadata(
Core\CSharp\System\Windows\Input\FocusManager.cs (2)
99new PropertyMetadata(new PropertyChangedCallback(OnFocusedElementChanged))); 113new PropertyMetadata(BooleanBoxes.FalseBox));
Core\CSharp\System\Windows\Input\InputLanguageManager.cs (2)
46new PropertyMetadata(CultureInfo.InvariantCulture) 89new PropertyMetadata(false)
Core\CSharp\System\Windows\Input\InputMethod.cs (6)
237new PropertyMetadata( 278new PropertyMetadata(false)); 318new PropertyMetadata(InputMethodState.DoNotCare)); 357new PropertyMetadata(ImeConversionModeValues.DoNotCare)); 396new PropertyMetadata(ImeSentenceModeValues.DoNotCare)); 434new PropertyMetadata((InputScope) null));
Core\CSharp\System\Windows\Media\Animation\AnimationTimeline.cs (2)
41new PropertyMetadata(false, 52new PropertyMetadata(false,
Core\CSharp\System\Windows\Media\Animation\BackEase.cs (1)
27new PropertyMetadata(1.0));
Core\CSharp\System\Windows\Media\Animation\BounceEase.cs (2)
29new PropertyMetadata(3)); 54new PropertyMetadata(2.0));
Core\CSharp\System\Windows\Media\Animation\DoubleAnimationUsingPath.cs (2)
64new PropertyMetadata( 90new PropertyMetadata(PathAnimationSource.X));
Core\CSharp\System\Windows\Media\Animation\EasingFunctionBase.cs (1)
22new PropertyMetadata(EasingMode.EaseOut));
Core\CSharp\System\Windows\Media\Animation\EasingQuaternionKeyFrame.cs (1)
33new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox));
Core\CSharp\System\Windows\Media\Animation\ElasticEase.cs (2)
29new PropertyMetadata(3)); 54new PropertyMetadata(3.0));
Core\CSharp\System\Windows\Media\Animation\ExponentialEase.cs (1)
29new PropertyMetadata(2.0));
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (3)
69new PropertyMetadata((Byte?)null, propCallback), 76new PropertyMetadata((Byte?)null, propCallback), 83new PropertyMetadata((Byte?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (3)
69new PropertyMetadata((Color?)null, propCallback), 76new PropertyMetadata((Color?)null, propCallback), 83new PropertyMetadata((Color?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (3)
69new PropertyMetadata((Decimal?)null, propCallback), 76new PropertyMetadata((Decimal?)null, propCallback), 83new PropertyMetadata((Decimal?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (3)
69new PropertyMetadata((Double?)null, propCallback), 76new PropertyMetadata((Double?)null, propCallback), 83new PropertyMetadata((Double?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (3)
69new PropertyMetadata((Int16?)null, propCallback), 76new PropertyMetadata((Int16?)null, propCallback), 83new PropertyMetadata((Int16?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (3)
69new PropertyMetadata((Int32?)null, propCallback), 76new PropertyMetadata((Int32?)null, propCallback), 83new PropertyMetadata((Int32?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (3)
69new PropertyMetadata((Int64?)null, propCallback), 76new PropertyMetadata((Int64?)null, propCallback), 83new PropertyMetadata((Int64?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (42)
76new PropertyMetadata(KeyTime.Uniform)); 102new PropertyMetadata()); 220new PropertyMetadata(KeyTime.Uniform)); 246new PropertyMetadata()); 364new PropertyMetadata(KeyTime.Uniform)); 390new PropertyMetadata()); 508new PropertyMetadata(KeyTime.Uniform)); 534new PropertyMetadata()); 652new PropertyMetadata(KeyTime.Uniform)); 678new PropertyMetadata()); 796new PropertyMetadata(KeyTime.Uniform)); 822new PropertyMetadata()); 940new PropertyMetadata(KeyTime.Uniform)); 966new PropertyMetadata()); 1084new PropertyMetadata(KeyTime.Uniform)); 1110new PropertyMetadata()); 1228new PropertyMetadata(KeyTime.Uniform)); 1254new PropertyMetadata()); 1372new PropertyMetadata(KeyTime.Uniform)); 1398new PropertyMetadata()); 1516new PropertyMetadata(KeyTime.Uniform)); 1542new PropertyMetadata()); 1660new PropertyMetadata(KeyTime.Uniform)); 1686new PropertyMetadata()); 1804new PropertyMetadata(KeyTime.Uniform)); 1830new PropertyMetadata()); 1948new PropertyMetadata(KeyTime.Uniform)); 1974new PropertyMetadata()); 2092new PropertyMetadata(KeyTime.Uniform)); 2118new PropertyMetadata()); 2236new PropertyMetadata(KeyTime.Uniform)); 2262new PropertyMetadata()); 2380new PropertyMetadata(KeyTime.Uniform)); 2406new PropertyMetadata()); 2524new PropertyMetadata(KeyTime.Uniform)); 2550new PropertyMetadata()); 2668new PropertyMetadata(KeyTime.Uniform)); 2694new PropertyMetadata()); 2812new PropertyMetadata(KeyTime.Uniform)); 2838new PropertyMetadata()); 2956new PropertyMetadata(KeyTime.Uniform)); 2982new PropertyMetadata());
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (3)
69new PropertyMetadata((Point3D?)null, propCallback), 76new PropertyMetadata((Point3D?)null, propCallback), 83new PropertyMetadata((Point3D?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (3)
69new PropertyMetadata((Point?)null, propCallback), 76new PropertyMetadata((Point?)null, propCallback), 83new PropertyMetadata((Point?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (3)
69new PropertyMetadata((Quaternion?)null, propCallback), 76new PropertyMetadata((Quaternion?)null, propCallback), 83new PropertyMetadata((Quaternion?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (3)
69new PropertyMetadata((Rect?)null, propCallback), 76new PropertyMetadata((Rect?)null, propCallback), 83new PropertyMetadata((Rect?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (3)
69new PropertyMetadata((Rotation3D)null, propCallback), 76new PropertyMetadata((Rotation3D)null, propCallback), 83new PropertyMetadata((Rotation3D)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (3)
69new PropertyMetadata((Single?)null, propCallback), 76new PropertyMetadata((Single?)null, propCallback), 83new PropertyMetadata((Single?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (3)
69new PropertyMetadata((Size?)null, propCallback), 76new PropertyMetadata((Size?)null, propCallback), 83new PropertyMetadata((Size?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (16)
134new PropertyMetadata(new KeySpline())); 267new PropertyMetadata(new KeySpline())); 400new PropertyMetadata(new KeySpline())); 533new PropertyMetadata(new KeySpline())); 666new PropertyMetadata(new KeySpline())); 799new PropertyMetadata(new KeySpline())); 932new PropertyMetadata(new KeySpline())); 1065new PropertyMetadata(new KeySpline())); 1198new PropertyMetadata(new KeySpline())); 1331new PropertyMetadata(new KeySpline())); 1464new PropertyMetadata(new KeySpline())); 1597new PropertyMetadata(new KeySpline())); 1730new PropertyMetadata(new KeySpline())); 1863new PropertyMetadata(new KeySpline())); 1996new PropertyMetadata(new KeySpline())); 2129new PropertyMetadata(new KeySpline()));
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (3)
69new PropertyMetadata((Vector3D?)null, propCallback), 76new PropertyMetadata((Vector3D?)null, propCallback), 83new PropertyMetadata((Vector3D?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (3)
69new PropertyMetadata((Vector?)null, propCallback), 76new PropertyMetadata((Vector?)null, propCallback), 83new PropertyMetadata((Vector?)null, propCallback),
Core\CSharp\System\Windows\Media\Animation\LinearQuaternionKeyFrame.cs (1)
33new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox));
Core\CSharp\System\Windows\Media\Animation\MatrixAnimationUsingPath.cs (4)
101new PropertyMetadata(false)); 142new PropertyMetadata(false)); 175new PropertyMetadata(false)); 206new PropertyMetadata(
Core\CSharp\System\Windows\Media\Animation\ParallelTimeline.cs (1)
158new PropertyMetadata(
Core\CSharp\System\Windows\Media\Animation\PointAnimationUsingPath.cs (1)
67new PropertyMetadata(
Core\CSharp\System\Windows\Media\Animation\PowerEase.cs (1)
29new PropertyMetadata(2.0));
Core\CSharp\System\Windows\Media\Animation\QuaternionAnimation.cs (1)
30new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox));
Core\CSharp\System\Windows\Media\Animation\SplineQuaternionKeyFrame.cs (1)
33new PropertyMetadata(/* defaultValue = */ BooleanBoxes.TrueBox));
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (10)
188new PropertyMetadata( 244new PropertyMetadata( 287new PropertyMetadata( 326new PropertyMetadata( 369new PropertyMetadata( 418new PropertyMetadata( 459new PropertyMetadata( 499new PropertyMetadata( 542new PropertyMetadata( 577new PropertyMetadata(
Core\CSharp\System\Windows\Media3D\ModelUIElement3D.cs (1)
62new PropertyMetadata(ModelPropertyChanged),
Core\CSharp\System\Windows\Media3D\ModelVisual3D.cs (1)
143new PropertyMetadata(ContentPropertyChanged),
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (5)
298new PropertyMetadata(null, new PropertyChangedCallback(OnVisualChanged))); 567new PropertyMetadata(null, new PropertyChangedCallback(OnGeometryChanged))); 689new PropertyMetadata(null, 717new PropertyMetadata(BooleanBoxes.FalseBox)); 749new PropertyMetadata(null, new PropertyChangedCallback(OnCacheModeChanged)));
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (2)
211new PropertyMetadata( 259new PropertyMetadata(Rect.Empty, ViewportPropertyChanged),
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
165new PropertyMetadata(Transform3D.Identity, TransformPropertyChanged),
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
89new PropertyMetadata((object)null));
Core\CSharp\System\Windows\PresentationSource.cs (3)
896new PropertyMetadata((SecurityCriticalDataForMultipleGetAndSet<PresentationSource>)null)); 908new PropertyMetadata((SecurityCriticalDataForMultipleGetAndSet<PresentationSource>)null)); 911private static readonly DependencyProperty GetsSourceChangedEventProperty = DependencyProperty.RegisterAttached("IsBeingWatched", typeof(bool), typeof(PresentationSource), new PropertyMetadata((bool)false));
Core\CSharp\System\Windows\UIElement.cs (9)
152new PropertyMetadata(BooleanBoxes.FalseBox)); 1368new PropertyMetadata( 1411new PropertyMetadata( 2986new PropertyMetadata( 3398new PropertyMetadata( 3439new PropertyMetadata( 3471new PropertyMetadata( 3553new PropertyMetadata( 4366new PropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(OnIsManipulationEnabledChanged)));
Core\CSharp\System\Windows\UIElement3D.cs (3)
68new PropertyMetadata( 104new PropertyMetadata(BooleanBoxes.FalseBox)); 666new PropertyMetadata(
PresentationFramework (46)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
296new PropertyMetadata(
src\Framework\System\Windows\Controls\Control.cs (1)
45IsKeyboardFocusedPropertyKey.OverrideMetadata(typeof(Control), new PropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
src\Framework\System\Windows\Controls\Frame.cs (1)
363new PropertyMetadata(NavigationUIVisibility.Automatic));
src\Framework\System\Windows\Controls\GridViewColumn.cs (3)
322new PropertyMetadata( 353new PropertyMetadata( 383new PropertyMetadata(
src\Framework\System\Windows\Controls\ListView.cs (1)
73new PropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
63"Watermark", typeof(object), typeof(DatePickerTextBox), new PropertyMetadata(OnWatermarkPropertyChanged));
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
57ClipToBoundsProperty.OverrideMetadata(typeof(DocumentPageView), new PropertyMetadata(BooleanBoxes.TrueBox));
src\Framework\System\Windows\Controls\ViewPort3D.cs (1)
57ClipToBoundsProperty.OverrideMetadata(typeof(Viewport3D), new PropertyMetadata(BooleanBoxes.TrueBox));
src\Framework\System\Windows\FrameworkElement.cs (2)
5642new PropertyMetadata(null)); // default value 5659new PropertyMetadata(null)); // default value
src\Framework\System\Windows\Media\Animation\Generated\KeyFrames.cs (2)
76new PropertyMetadata(KeyTime.Uniform)); 102new PropertyMetadata());
src\Framework\System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (1)
134new PropertyMetadata(new KeySpline()));
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (3)
69new PropertyMetadata((Thickness?)null, propCallback), 76new PropertyMetadata((Thickness?)null, propCallback), 83new PropertyMetadata((Thickness?)null, propCallback),
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
34PropertyMetadata targetPropertyMetadata = new PropertyMetadata();
src\Framework\System\Windows\Navigation\JournalEntry.cs (2)
267DependencyProperty.RegisterAttached("Name", typeof(string), typeof(JournalEntry), new PropertyMetadata(String.Empty)); 273DependencyProperty.RegisterAttached("KeepAlive", typeof(bool), typeof(JournalEntry), new PropertyMetadata(false));
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (1)
88new PropertyMetadata(JournalEntryPosition.Current));
src\Framework\System\Windows\Shell\TaskbarItemInfo.cs (5)
39new PropertyMetadata( 80new PropertyMetadata( 117new PropertyMetadata( 138new PropertyMetadata( 159new PropertyMetadata(
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (11)
26new PropertyMetadata(Visibility.Visible)); 41new PropertyMetadata(false)); 58new PropertyMetadata(null)); 74new PropertyMetadata(true)); 90new PropertyMetadata( 123new PropertyMetadata( 154new PropertyMetadata(true)); 175new PropertyMetadata( 206new PropertyMetadata( 219new PropertyMetadata( 229new PropertyMetadata(
src\Framework\System\Windows\Shell\WindowChrome.cs (6)
58new PropertyMetadata(null, _OnChromeChanged)); 178new PropertyMetadata( 194new PropertyMetadata(default(Thickness)), 207new PropertyMetadata( 246new PropertyMetadata( 261new PropertyMetadata(
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
160new PropertyMetadata(null, _OnChromeWorkerChanged));
src\Framework\System\Windows\Window.cs (1)
635new PropertyMetadata(
System.Activities.Core.Presentation (13)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (3)
25DependencyProperty.Register("Value", typeof(object), typeof(CaseKeyBox), new PropertyMetadata(OnValueChanged)); 28DependencyProperty.Register("ValueType", typeof(Type), typeof(CaseKeyBox), new PropertyMetadata(OnValueTypeChanged)); 49DependencyProperty.Register("CommitExplicitly", typeof(bool), typeof(CaseKeyBox), new PropertyMetadata(false));
System\Activities\Core\Presentation\ReorderableListEditor.xaml.cs (3)
17public static readonly DependencyProperty ItemTemplateProperty = DependencyProperty.Register("ItemTemplate", typeof(DataTemplate), typeof(ReorderableListEditor), new PropertyMetadata(null)); 18public static readonly DependencyProperty ListProperty = DependencyProperty.Register("List", typeof(ObservableCollection<ExpandableItemWrapper>), typeof(ReorderableListEditor), new PropertyMetadata(null)); 19public static readonly DependencyProperty SelectedListItemProperty = DependencyProperty.Register("SelectedListItem", typeof(ExpandableItemWrapper), typeof(ReorderableListEditor), new PropertyMetadata(null));
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (3)
30public static readonly DependencyProperty NewTransitionProperty = DependencyProperty.Register("NewTransition", typeof(object), typeof(TransitionDesigner), new PropertyMetadata(null)); 31public static readonly DependencyProperty TransitionsSharingTriggerProperty = DependencyProperty.Register("TransitionsSharingTrigger", typeof(ObservableCollection<ExpandableItemWrapper>), typeof(TransitionDesigner), new PropertyMetadata(null)); 32public static readonly DependencyProperty SelectedTransitionProperty = DependencyProperty.Register("SelectedTransition", typeof(ExpandableItemWrapper), typeof(TransitionDesigner), new PropertyMetadata(null));
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (3)
47new PropertyMetadata(new ObservableCollection<DynamicArgumentWrapperObject>())); 53new PropertyMetadata(false)); 59new PropertyMetadata(typeof(Argument)));
System\ServiceModel\Activities\Presentation\BindingEditor.xaml.cs (1)
23new PropertyMetadata(OnBindingChanged));
System.Activities.Presentation (58)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateInfoPresenter.xaml.cs (1)
15public static readonly DependencyProperty DelegateInfoProperty = DependencyProperty.Register("DelegateInfo", typeof(ActivityDelegateInfo), typeof(ActivityDelegateInfoPresenter), new PropertyMetadata(new PropertyChangedCallback(OnDelegateInfoChanged)));
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (2)
27public static readonly DependencyProperty ActivityDelegateProperty = DependencyProperty.Register("ActivityDelegate", typeof(ModelItem), typeof(ActivityDelegatePresenter), new PropertyMetadata(new PropertyChangedCallback(ActivityDelegatePresenter.OnActivityDelegateChanged))); 28public static readonly DependencyProperty HandlerProperty = DependencyProperty.Register("Handler", typeof(ModelItem), typeof(ActivityDelegatePresenter), new PropertyMetadata(new PropertyChangedCallback(ActivityDelegatePresenter.OnHandlerChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\AutomatedChoiceEditor.cs (1)
29new PropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
66PropertySelection.IsSelectionScopeProperty.OverrideMetadata(typeof(CategoryList), new PropertyMetadata(true));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderCategoryContainer.cs (2)
37new PropertyMetadata(true, null, new CoerceValueCallback(CiderCategoryContainer.CoerceIsEmpty))); 52new PropertyMetadata(true));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
45new PropertyMetadata(false, new PropertyChangedCallback(OnApplyFixPropertyChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
21DependencyProperty.Register("FlagType", typeof(Type), typeof(FlagEditor), new PropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (2)
16DependencyProperty.Register("FlagString", typeof(string), typeof(FlagPanel), new PropertyMetadata(string.Empty)); 22new PropertyMetadata(null, new PropertyChangedCallback(OnFlagTypeChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (3)
45new PropertyMetadata(null, new PropertyChangedCallback(OnPropertyEntryChanged))); 56new PropertyMetadata(false, new PropertyChangedCallback(OnIsExpandedChanged))); 66new PropertyMetadata(null, new PropertyChangedCallback(OnCurrentQuickTypeChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
36new PropertyMetadata(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
48FocusManager.FocusedElementProperty.OverrideMetadata(typeof(FrameworkElement), new PropertyMetadata(null, null, new CoerceValueCallback(FocusScopeManager.FocusManager_CoerceFocusedElement)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (6)
65public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 66public static readonly DependencyProperty UpdateCommandProperty = DependencyProperty.Register("UpdateCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 67public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 68public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 69public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 71public static readonly DependencyProperty ComboBoxLoadingCursorProperty = DependencyProperty.Register("ComboBoxLoadingCursor", typeof(Cursor), typeof(ChoiceEditor), new PropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (5)
30public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 31public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 32public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 33public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 34public static readonly DependencyProperty LostFocusCommandProperty = DependencyProperty.Register("LostFocusCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyToolBar.cs (2)
32new PropertyMetadata(null, OnCurrentViewManagerChanged)); 44new PropertyMetadata(null, OnCategoryListChanged));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelection.cs (5)
31new PropertyMetadata(false)); 46new PropertyMetadata(null)); 56new PropertyMetadata(false, new PropertyChangedCallback(OnIsSelectionStopDoubleClickTargetChanged))); 66new PropertyMetadata(false)); 80new PropertyMetadata(null, new PropertyChangedCallback(OnKeyDownTargetChanged)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
208new PropertyMetadata((IInputElement)null));
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
32new PropertyMetadata( 40new PropertyMetadata(
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (2)
31new PropertyMetadata(new PropertyChangedCallback(OnEditedTypeChanged))); 37new PropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
70internal static DependencyProperty ShouldExpandAllProperty = DependencyProperty.Register("ShouldExpandAll", typeof(bool), typeof(DesignerView), new PropertyMetadata(false, new PropertyChangedCallback(OnExpandAllCollapseAllChanged))); 71internal static DependencyProperty ShouldCollapseAllProperty = DependencyProperty.Register("ShouldCollapseAll", typeof(bool), typeof(DesignerView), new PropertyMetadata(false, new PropertyChangedCallback(OnExpandAllCollapseAllChanged)));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
27new PropertyMetadata(OnDesignerChanged));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
98VisibilityProperty.AddOwner(typeof(ExtensionWindow), new PropertyMetadata(OnVisibilityChanged));
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (9)
33new PropertyMetadata(new PropertyChangedCallback(OnContextChanged))); 39new PropertyMetadata(false, OnAllowNullChanged)); 45new PropertyMetadata(false, OnBrowseTypeDirectlyChanged)); 51new PropertyMetadata(null, new PropertyChangedCallback(OnTypeChanged))); 57new PropertyMetadata(string.Empty)); 63new PropertyMetadata(new PropertyChangedCallback(OnFilterChanged))); 77new PropertyMetadata(TypePresenter.DefaultMostRecentlyUsedTypes, new PropertyChangedCallback(OnMostRecentlyUsedTypesPropertyChanged), new CoerceValueCallback(OnCoerceMostRecentlyUsedTypes))); 83new PropertyMetadata(true)); 89new PropertyMetadata(true));
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditor.xaml.cs (1)
17private static DependencyProperty versionProperty = DependencyProperty.Register("Version", typeof(Version), typeof(VersionEditor), new PropertyMetadata(new PropertyChangedCallback(VersionEditor.OnVersionChanged)));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (4)
60new PropertyMetadata(EditingState.Idle)); 63new PropertyMetadata(false)); 66new PropertyMetadata(null)); 69new PropertyMetadata(null));
System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialog.cs (1)
20new PropertyMetadata(OnModelItemChanged));
WindowsBase (4)
Base\System\Windows\DependencyProperty.cs (3)
71defaultMetadata = new PropertyMetadata(typeMetadata.DefaultValue); 117defaultMetadata = new PropertyMetadata(typeMetadata.DefaultValue); 362return new PropertyMetadata(defaultValue);
Base\System\Windows\PropertyMetadata.cs (1)
548return new PropertyMetadata();
141 references to PropertyMetadata
PresentationCore (12)
Core\CSharp\System\Windows\Generated\ContentElement.cs (1)
238PropertyMetadata metadata,
Core\CSharp\System\Windows\Generated\UIElement.cs (1)
238PropertyMetadata metadata,
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (3)
318PropertyMetadata metadata, 437PropertyMetadata metadata = _dependencyProperty.GetMetadata(targetDO.DependencyObjectType); 901PropertyMetadata metadata,
Core\CSharp\System\Windows\Media\Animation\Generated\Animatable.cs (1)
245PropertyMetadata metadata,
Core\CSharp\System\Windows\Media\Animation\IndependentlyAnimatedPropertyMetadata.cs (1)
26internal override PropertyMetadata CreateInstance() {
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (1)
260var metadata = dp.GetMetadata(this);
Core\CSharp\System\Windows\Media3D\Generated\Visual3D.cs (1)
245PropertyMetadata metadata,
Core\CSharp\System\Windows\UIElement.cs (1)
3836private static PropertyMetadata _isVisibleMetadata = new ReadOnlyPropertyMetadata(BooleanBoxes.FalseBox,
Core\CSharp\System\Windows\UIElement3D.cs (1)
1038private static PropertyMetadata _isVisibleMetadata;
Core\CSharp\System\Windows\UIPropertyMetadata.cs (1)
89internal override PropertyMetadata CreateInstance() {
PresentationFramework (42)
src\Framework\MS\Internal\Helper.cs (1)
267PropertyMetadata metadata = dp.GetMetadata(d);
src\Framework\MS\Internal\Ink\DrawingAttributesDefaultValueFactory.cs (1)
95PropertyMetadata metadata = InkCanvas.DefaultDrawingAttributesProperty.GetMetadata(_owner.DependencyObjectType);
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
104PropertyMetadata metadata = _dependencyProperty.GetMetadata(_owner.DependencyObjectType);
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
112PropertyMetadata metadata = TemplateProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\Controls\Control.cs (1)
59PropertyMetadata metadata = TemplateProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\Controls\DefinitionBase.cs (6)
152/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 196/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 225/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 254/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 509/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 586/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Controls\Grid.cs (2)
3023/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 3039/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Controls\Page.cs (1)
78PropertyMetadata metadata = TemplateProperty.GetMetadata(DependencyObjectType);
src\Framework\System\Windows\Controls\Panel.cs (1)
952/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Controls\Stack.cs (1)
1019/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
11163/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
167/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Documents\TableCell.cs (2)
583/// <see cref="PropertyMetadata.PropertyChangedCallback"/> 603/// <see cref="PropertyMetadata.PropertyChangedCallback"/>
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
933PropertyMetadata metadata = property.GetMetadata(propertyOwnerType);
src\Framework\System\Windows\FrameworkContentElement.cs (4)
74PropertyMetadata metadata = StyleProperty.GetMetadata(DependencyObjectType); 469PropertyMetadata metadata, 488internal void GetRawValue(DependencyProperty dp, PropertyMetadata metadata, ref EffectiveValueEntry entry) 688internal Expression GetExpressionCore(DependencyProperty dp, PropertyMetadata metadata)
src\Framework\System\Windows\FrameworkElement.cs (6)
124PropertyMetadata metadata = StyleProperty.GetMetadata(DependencyObjectType); 1815PropertyMetadata metadata, 1833internal void GetRawValue(DependencyProperty dp, PropertyMetadata metadata, ref EffectiveValueEntry entry) 2051internal Expression GetExpressionCore(DependencyProperty dp, PropertyMetadata metadata) 3336private static PropertyMetadata _actualWidthMetadata = new ReadOnlyFrameworkPropertyMetadata(0d, new GetReadOnlyValueCallback(GetActualWidth)); 3381private static PropertyMetadata _actualHeightMetadata = new ReadOnlyFrameworkPropertyMetadata(0d, new GetReadOnlyValueCallback(GetActualHeight));
src\Framework\System\Windows\FrameworkPropertyMetadata.cs (2)
559internal override PropertyMetadata CreateInstance() { 571protected override void Merge(PropertyMetadata baseMetadata, DependencyProperty dp)
src\Framework\System\Windows\Media\Animation\Storyboard.cs (3)
34PropertyMetadata targetPropertyMetadata = new PropertyMetadata(); 108PropertyMetadata metadata, 958PropertyMetadata metadata)
src\Framework\System\Windows\StyleHelper.cs (3)
255PropertyMetadata styleMetadata = 4247PropertyMetadata metadata = dp.GetMetadata(child.DO.DependencyObjectType); 5483PropertyMetadata metadata)
src\Framework\System\Windows\TreeChangeInfo.cs (1)
115PropertyMetadata metadata = dp.GetMetadata(parent.DependencyObjectType);
src\Framework\System\Windows\TreeWalkHelper.cs (2)
277PropertyMetadata metadata = inheritableProperty.GetMetadata(d); 960PropertyMetadata metadata = dp.GetMetadata(d);
WindowsBase (87)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (2)
343internal PropertyMetadata Metadata 850private PropertyMetadata _metadata;
Base\MS\Internal\FreezableDefaultValueFactory.cs (1)
123PropertyMetadata metadata = _property.GetMetadata(_owner.DependencyObjectType);
Base\MS\Internal\ObservableCollectionDefaultValueFactory.cs (1)
93PropertyMetadata metadata = _property.GetMetadata(_owner.DependencyObjectType);
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (2)
427public PropertyMetadata Metadata 616private PropertyMetadata _metadata;
Base\System\Windows\DeferredReference.cs (3)
50internal DeferredMutableDefaultReference(PropertyMetadata metadata, DependencyObject d, DependencyProperty dp) 76internal PropertyMetadata SourceMetadata 95private readonly PropertyMetadata _sourceMetadata;
Base\System\Windows\DependencyObject.cs (33)
100PropertyMetadata.PromoteAllCachedDefaultValues(this); 193PropertyMetadata metadata, 425PropertyMetadata metadata = SetupPropertyChange(dp); 451PropertyMetadata metadata = SetupPropertyChange(dp); 496PropertyMetadata metadata = SetupPropertyChange(dp); 517PropertyMetadata metadata = SetupPropertyChange(dp); 530PropertyMetadata metadata = SetupPropertyChange(dp); 543PropertyMetadata metadata = SetupPropertyChange(dp); 556PropertyMetadata metadata = SetupPropertyChange(dp); 587PropertyMetadata metadata = SetupPropertyChange(key, out dp); 597private PropertyMetadata SetupPropertyChange(DependencyProperty dp) 621private PropertyMetadata SetupPropertyChange(DependencyPropertyKey key, out DependencyProperty dp) 647PropertyMetadata metadata, 956PropertyMetadata metadata = SetupPropertyChange(dp); 976PropertyMetadata metadata = SetupPropertyChange(key, out dp); 986private void ClearValueCommon(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata) 1102PropertyMetadata metadata = dp.GetMetadata(DependencyObjectType); 1246PropertyMetadata metadata, 1666PropertyMetadata metadata, 1791((DependentList)dependentList).InvalidateDependents(this, new DependencyPropertyChangedEventArgs(dp, (PropertyMetadata)null, null)); 1802PropertyMetadata metadata, 1867PropertyMetadata metadata, 2045PropertyMetadata metadata, 2055PropertyMetadata metadata, 2076PropertyMetadata metadata = e.Metadata; 2094internal BaseValueSourceInternal GetValueSource(DependencyProperty dp, PropertyMetadata metadata, out bool hasModifiers) 2101internal BaseValueSourceInternal GetValueSource(DependencyProperty dp, PropertyMetadata metadata, 2577private static Expression GetExpression(DependencyObject d, DependencyProperty dp, PropertyMetadata metadata) 3078PropertyMetadata metadata = dp.GetMetadata(DependencyObjectType); 3260internal void SetEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry newEntry, EffectiveValueEntry oldEntry) 3343internal void SetEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, int targetIndex, PropertyMetadata metadata, object value, BaseValueSourceInternal valueSource) 3417internal void UnsetEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata) 3551internal delegate Expression AlternativeExpressionStorageCallback(DependencyObject d, DependencyProperty dp, PropertyMetadata metadata);
Base\System\Windows\DependencyProperty.cs (30)
48public static DependencyProperty Register(string name, Type propertyType, Type ownerType, PropertyMetadata typeMetadata) 63public static DependencyProperty Register(string name, Type propertyType, Type ownerType, PropertyMetadata typeMetadata, ValidateValueCallback validateValueCallback) 68PropertyMetadata defaultMetadata = null; 94PropertyMetadata typeMetadata ) 108PropertyMetadata typeMetadata, 113PropertyMetadata defaultMetadata = null; 160public static DependencyPropertyKey RegisterAttachedReadOnly(string name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata) 170public static DependencyPropertyKey RegisterAttachedReadOnly(string name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback) 220public static DependencyProperty RegisterAttached(string name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata) 235public static DependencyProperty RegisterAttached(string name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback) 265private static DependencyProperty RegisterCommon(string name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback) 345private static PropertyMetadata AutoGeneratePropertyMetadata( 367PropertyMetadata defaultMetadata, 464PropertyMetadata typeMetadata, 466out PropertyMetadata baseMetadata ) 519public void OverrideMetadata(Type forType, PropertyMetadata typeMetadata) 522PropertyMetadata baseMetadata; 540public void OverrideMetadata(Type forType, PropertyMetadata typeMetadata, DependencyPropertyKey key) 543PropertyMetadata baseMetadata; 580PropertyMetadata typeMetadata, 582PropertyMetadata baseMetadata) 649public PropertyMetadata GetMetadata(Type forType) 663public PropertyMetadata GetMetadata(DependencyObject dependencyObject) 677public PropertyMetadata GetMetadata(DependencyObjectType dependencyObjectType) 712return (PropertyMetadata)value; 748return (PropertyMetadata)value; 782public DependencyProperty AddOwner(Type ownerType, PropertyMetadata typeMetadata) 844public PropertyMetadata DefaultMetadata 1119private DependencyProperty(string name, Type propertyType, Type ownerType, PropertyMetadata defaultMetadata, ValidateValueCallback validateValueCallback) 1207private PropertyMetadata _defaultMetadata;
Base\System\Windows\DependencyPropertyChangedEventArgs.cs (5)
40internal DependencyPropertyChangedEventArgs(DependencyProperty property, PropertyMetadata metadata, object oldValue, object newValue) 54internal DependencyPropertyChangedEventArgs(DependencyProperty property, PropertyMetadata metadata, object value) 69PropertyMetadata metadata, 130internal PropertyMetadata Metadata 345private PropertyMetadata _metadata;
Base\System\Windows\DependencyPropertyKey.cs (1)
40public void OverrideMetadata( Type forType, PropertyMetadata typeMetadata )
Base\System\Windows\Freezable.cs (2)
480PropertyMetadata metadata = dp.GetMetadata(DependencyObjectType); 877PropertyMetadata.RemoveAllCachedDefaultValues(this);
Base\System\Windows\FreezeValueCallback.cs (1)
6internal delegate bool FreezeValueCallback(DependencyObject d, DependencyProperty dp, EntryIndex entryIndex, PropertyMetadata metadata, bool isChecking);
Base\System\Windows\PropertyMetadata.cs (6)
441PropertyMetadata metadata, 547internal virtual PropertyMetadata CreateInstance() { 555internal PropertyMetadata Copy(DependencyProperty dp) { 556PropertyMetadata newMetadata = CreateInstance(); 569protected virtual void Merge(PropertyMetadata baseMetadata, DependencyProperty dp) 624internal void InvokeMerge(PropertyMetadata baseMetadata, DependencyProperty dp)