593 references to FrameworkPropertyMetadata
PresentationFramework (435)
MS\Internal\AppModel\JournalNavigationScope.cs (4)
45new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 53new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 63new FrameworkPropertyMetadata((IEnumerable)null)); 71new FrameworkPropertyMetadata((IEnumerable)null));
MS\Internal\Documents\TextBoxView.cs (1)
39MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
System\Windows\Controls\Button.cs (2)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 169new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Calendar.cs (3)
83DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar))); 84KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 85KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\CheckBox.cs (2)
40DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox))); 43KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ComboBox.cs (10)
46KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 47KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 53DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 56IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 147new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 400new FrameworkPropertyMetadata(String.Empty)); 422new FrameworkPropertyMetadata((DataTemplate)null)); 440new FrameworkPropertyMetadata((String)null)); 461new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ComboBoxItem.cs (2)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem))); 66new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ContentControl.cs (1)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl)));
System\Windows\Controls\ContentPresenter.cs (2)
138new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 419new FrameworkPropertyMetadata("Content"));
System\Windows\Controls\ContextMenu.cs (6)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu))); 49IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 50KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 51KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 55FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */));
System\Windows\Controls\ContextMenuService.cs (8)
78new FrameworkPropertyMetadata(0d)); // Default Value 111new FrameworkPropertyMetadata(0d)); // Default Value 144new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); //Default Value 175new FrameworkPropertyMetadata((UIElement)null)); // Default Value 207new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 239new FrameworkPropertyMetadata(PlacementMode.MousePoint)); // Default Value 271new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 303new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value
System\Windows\Controls\Control.cs (3)
36FocusableProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 294new FrameworkPropertyMetadata(HorizontalAlignment.Left), 320new FrameworkPropertyMetadata(VerticalAlignment.Top),
System\Windows\Controls\DataGrid.cs (13)
43DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid))); 46ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory))); 48VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 56IsTabStopProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 57KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 58KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 156DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader)); 1255DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All)); 1521public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1535public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 3915DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false)); 4069new FrameworkPropertyMetadata(new Thickness(0))); 8004new FrameworkPropertyMetadata(0.0));
System\Windows\Controls\DataGridCell.cs (3)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell))); 39KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 40AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\DataGridCellsPanel.cs (1)
32KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
21ElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 22EditingElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DataGridColumn.cs (2)
1017new FrameworkPropertyMetadata(String.Empty)); 1134new FrameworkPropertyMetadata(false));
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
25new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey));
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
27new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey));
System\Windows\Controls\DataGridComboBoxColumn.cs (4)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey)); 37KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(false)); 268DataGridBoundColumn.ElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 284DataGridBoundColumn.EditingElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
25ElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 26EditingElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DataGridRow.cs (5)
102DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 103ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 104FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 112AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 1295DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
System\Windows\Controls\DataGridTextColumn.cs (2)
23ElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 24EditingElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DatePicker.cs (3)
89DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker))); 91KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 92KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(false));
System\Windows\Controls\DocumentViewer.cs (7)
689new FrameworkPropertyMetadata(_canMoveUpDefault)); 715new FrameworkPropertyMetadata(_canMoveDownDefault)); 741new FrameworkPropertyMetadata(_canMoveLeftDefault)); 767new FrameworkPropertyMetadata(_canMoveRightDefault)); 794new FrameworkPropertyMetadata(_canIncreaseZoomDefault)); 823new FrameworkPropertyMetadata(_canDecreaseZoomDefault)); 2036DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
System\Windows\Controls\Expander.cs (2)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander))); 62IsTabStopProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\FlowDocumentReader.cs (7)
53new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 460new FrameworkPropertyMetadata(0)); 475new FrameworkPropertyMetadata(0)); 489new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 504new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 594new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 609new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\FlowDocumentScrollViewer.cs (5)
58new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer"))); 412new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 427new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 464new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 472new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
System\Windows\Controls\Frame.cs (3)
121DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame))); 130KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 131KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\GridSplitter.cs (7)
94DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter))); 98FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(HorizontalAlignment.Right)); 179new FrameworkPropertyMetadata(GridResizeBehavior.BasedOnAlignment), 210new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 230new FrameworkPropertyMetadata((Style)null)); 251new FrameworkPropertyMetadata(10.0), 280new FrameworkPropertyMetadata(1.0),
System\Windows\Controls\GridView.cs (1)
370new FrameworkPropertyMetadata(BooleanBoxes.TrueBox /* default value */
System\Windows\Controls\GridViewColumnHeader.cs (3)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 67FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 152new FrameworkPropertyMetadata(GridViewColumnHeaderRole.Normal));
System\Windows\Controls\GroupBox.cs (3)
24FocusableProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 25IsTabStopProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 26DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(typeof(GroupBox)));
System\Windows\Controls\GroupItem.cs (3)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem))); 37FocusableProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(false)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\HeaderedContentControl.cs (2)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl))); 108new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Image.cs (1)
389StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style));
System\Windows\Controls\InkCanvas.cs (6)
99ClipToBoundsProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 104FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 141StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(defaultStyle)); 142DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas))); 144FocusVisualStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((object)null /* default value */)); 794new FrameworkPropertyMetadata(InkCanvasEditingMode.Ink));
System\Windows\Controls\ItemContainerGenerator.cs (1)
1294new FrameworkPropertyMetadata((object)null));
System\Windows\Controls\ItemsControl.cs (4)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl))); 1084new FrameworkPropertyMetadata((int)0)); 1128new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1148new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Label.cs (2)
52DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label))); 143new FrameworkPropertyMetadata((Label)null));
System\Windows\Controls\ListBox.cs (6)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 68IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 69KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 70KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 72IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 76ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template));
System\Windows\Controls\ListBoxItem.cs (4)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 59AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\ListView.cs (1)
42SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(SelectionMode.Extended));
System\Windows\Controls\MediaElement.cs (1)
81StyleProperty.OverrideMetadata(typeof(MediaElement), new FrameworkPropertyMetadata(style));
System\Windows\Controls\Menu.cs (5)
56DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 59ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 60IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 62KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\MenuItem.cs (18)
175ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush)); 176FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily)); 177FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize)); 178FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle)); 179FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight)); 188DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem))); 191KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 194FocusVisualStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata((object)null /* default value */)); 201AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 518new FrameworkPropertyMetadata((IInputElement) null)); 756new FrameworkPropertyMetadata(MenuItemRole.TopLevelItem)); 844new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 887new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 986new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1168new FrameworkPropertyMetadata((object)null)); 1183new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1253new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); 2662new FrameworkPropertyMetadata(new BoolField())
System\Windows\Controls\Page.cs (2)
57FocusableProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 59DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page)));
System\Windows\Controls\PasswordBox.cs (2)
58DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox))); 234new FrameworkPropertyMetadata('*')); // Flags
System\Windows\Controls\PopupControlService.cs (1)
1233new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\ButtonBase.cs (3)
39KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 225new FrameworkPropertyMetadata((IInputElement)null)); 398new FrameworkPropertyMetadata(ClickMode.Release),
System\Windows\Controls\Primitives\CalendarButton.cs (1)
23DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton)));
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton)));
System\Windows\Controls\Primitives\CalendarItem.cs (4)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 65FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 66KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter))); 39ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 40FocusableProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(false)); 48VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (4)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 41FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 43AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 97DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 41FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 44ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory))); 52new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (2)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter))); 24AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
123DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader))); 131ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press)); 132FocusableProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(false)); 133AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 175DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible));
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox)));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (6)
69TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 263new FrameworkPropertyMetadata(0)); 279new FrameworkPropertyMetadata(0)); 295new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 311new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 331new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\MenuBase.cs (2)
69FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 89new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\Popup.cs (2)
96new FrameworkPropertyMetadata( 520new FrameworkPropertyMetadata((object) null));
System\Windows\Controls\Primitives\PopupRoot.cs (1)
32SnapsToDevicePixelsProperty.OverrideMetadata(typeof(PopupRoot), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\Primitives\RangeBase.cs (2)
293new FrameworkPropertyMetadata(1.0), 320new FrameworkPropertyMetadata(0.1),
System\Windows\Controls\Primitives\RepeatButton.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(typeof(RepeatButton))); 35ClickModeProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(ClickMode.Press)); 60new FrameworkPropertyMetadata(GetKeyboardDelay()), 87new FrameworkPropertyMetadata(GetKeyboardSpeed()),
System\Windows\Controls\Primitives\ResizeGrip.cs (1)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(ResizeGrip), new FrameworkPropertyMetadata(typeof(ResizeGrip)));
System\Windows\Controls\Primitives\ScrollBar.cs (4)
110new FrameworkPropertyMetadata(Orientation.Vertical), 119new FrameworkPropertyMetadata(0.0d), 686DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar))); 692FocusableProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\Selector.cs (1)
790new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\StatusBar.cs (4)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); 39IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 43ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); 58new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\StatusBarItem.cs (3)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); 27IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 28AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\TabPanel.cs (2)
55KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 56KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\Primitives\TextBoxBase.cs (3)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase))); 501new FrameworkPropertyMetadata(false /*default value*/)); 765new FrameworkPropertyMetadata(false));
System\Windows\Controls\Primitives\Thumb.cs (1)
54DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
System\Windows\Controls\Primitives\TickBar.cs (1)
74SnapsToDevicePixelsProperty.OverrideMetadata(typeof(TickBar), new FrameworkPropertyMetadata(true));
System\Windows\Controls\Primitives\ToggleButton.cs (2)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 233new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\Track.cs (1)
346new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ProgressBar.cs (3)
43FocusableProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 44DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar))); 48RangeBase.MaximumProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(100.0));
System\Windows\Controls\RadioButton.cs (1)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton)));
System\Windows\Controls\RichTextBox.cs (4)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox))); 51KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 54TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 61TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
System\Windows\Controls\ScrollViewer.cs (20)
454new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 552new FrameworkPropertyMetadata(Visibility.Visible)); 570new FrameworkPropertyMetadata(Visibility.Visible)); 589new FrameworkPropertyMetadata(0d)); 606new FrameworkPropertyMetadata(0d)); 623new FrameworkPropertyMetadata(0d)); 657new FrameworkPropertyMetadata(0d)); 690new FrameworkPropertyMetadata(0d)); 706new FrameworkPropertyMetadata(0d)); 722new FrameworkPropertyMetadata(0d)); 738new FrameworkPropertyMetadata(0d)); 754new FrameworkPropertyMetadata(0d)); 770new FrameworkPropertyMetadata(0d)); 784public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1512new FrameworkPropertyMetadata(0.001), 1552new FrameworkPropertyMetadata(1d), 2916DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2922Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2923IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2924KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\Separator.cs (2)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(typeof(Separator))); 24IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\SinglePageViewer.cs (4)
54new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer"))); 295new FrameworkPropertyMetadata(10d), 306new FrameworkPropertyMetadata(true)); 321new FrameworkPropertyMetadata(true));
System\Windows\Controls\Slider.cs (12)
79DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 282new FrameworkPropertyMetadata(Orientation.Horizontal), 302new FrameworkPropertyMetadata(false)); 325public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 350public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 377new FrameworkPropertyMetadata(Primitives.AutoToolTipPlacement.None), 414new FrameworkPropertyMetadata(0), new ValidateValueCallback(IsValidAutoToolTipPrecision)); 459new FrameworkPropertyMetadata(false)); 482new FrameworkPropertyMetadata(Primitives.TickPlacement.None), 518new FrameworkPropertyMetadata(1.0), 582new FrameworkPropertyMetadata(false)); 746new FrameworkPropertyMetadata(false));
System\Windows\Controls\SpellCheck.cs (1)
175new FrameworkPropertyMetadata(new DictionaryCollectionFactory()));
System\Windows\Controls\StickyNote.cs (7)
125DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata( 128KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 129Control.IsTabStopProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(false)); 247new FrameworkPropertyMetadata(String.Empty)); 317new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 482new FrameworkPropertyMetadata(StickyNoteType.Text)); 768new FrameworkPropertyMetadata(
System\Windows\Controls\TabControl.cs (9)
45DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl))); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 114private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null)); 142private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 171private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 200new FrameworkPropertyMetadata((String)null)); 228public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 253public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 280new FrameworkPropertyMetadata((String) null));
System\Windows\Controls\TabItem.cs (4)
56DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 58KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 59KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 63AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\TextBlock.cs (1)
332DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock)));
System\Windows\Controls\TextBox.cs (3)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 696new FrameworkPropertyMetadata(CharacterCasing.Normal /*default value*/), 731new FrameworkPropertyMetadata(0), /*default value*/
System\Windows\Controls\TextSearch.cs (4)
82new FrameworkPropertyMetadata(String.Empty /* default value */)); 150new FrameworkPropertyMetadata((string)null)); 157new FrameworkPropertyMetadata(false)); 168new FrameworkPropertyMetadata((object)null /* default value */));
System\Windows\Controls\ToolBar.cs (7)
71DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 76KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 77KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 78KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 79FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 312new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 341new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ToolBarTray.cs (2)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray))); 54KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\ToolTip.cs (4)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 40BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 41FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 71new FrameworkPropertyMetadata(
System\Windows\Controls\ToolTipService.cs (13)
32new FrameworkPropertyMetadata((object) null)); 70new FrameworkPropertyMetadata(0d)); // Default Value 103new FrameworkPropertyMetadata(0d)); // Default Value 136new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 168new FrameworkPropertyMetadata((UIElement)null)); // Default Value 200new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 232new FrameworkPropertyMetadata(PlacementMode.Mouse)); // Default Value 264new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 296new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 333new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value 370new FrameworkPropertyMetadata(Int32.MaxValue), // Default Value 403new FrameworkPropertyMetadata(1000), // Default Value 436new FrameworkPropertyMetadata(100), // Default Value
System\Windows\Controls\TreeView.cs (7)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView))); 36VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 39KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 40KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 41VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel)); 60DependencyProperty.RegisterReadOnly("SelectedItem", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 89DependencyProperty.RegisterReadOnly("SelectedValue", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null));
System\Windows\Controls\TreeViewItem.cs (6)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem))); 36VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 39KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 40KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 41IsTabStopProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 49AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\UserControl.cs (5)
26DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl))); 29FocusableProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 30KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 32HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(HorizontalAlignment.Stretch)); 33VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(VerticalAlignment.Stretch));
System\Windows\Controls\ViewPort3D.cs (1)
127new FrameworkPropertyMetadata((object) null));
System\Windows\Controls\VirtualizingPanel.cs (2)
260new FrameworkPropertyMetadata(true)); 292new FrameworkPropertyMetadata(true));
System\Windows\Data\CollectionViewSource.cs (7)
63new FrameworkPropertyMetadata((ICollectionView)null)); 247new FrameworkPropertyMetadata((bool)false)); 311new FrameworkPropertyMetadata((bool?)null)); 370new FrameworkPropertyMetadata((bool)false)); 434new FrameworkPropertyMetadata((bool?)null)); 491new FrameworkPropertyMetadata((bool)false)); 555new FrameworkPropertyMetadata((bool?)null));
System\Windows\Documents\Bold.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold)));
System\Windows\Documents\CompositionAdorner.cs (1)
34IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
System\Windows\Documents\DocumentSequence.cs (2)
46FocusableProperty.OverrideMetadata(typeof(FixedDocumentSequence), new FrameworkPropertyMetadata(true)); 513new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\FixedDocument.cs (2)
64FocusableProperty.OverrideMetadata(typeof(FixedDocument), new FrameworkPropertyMetadata(true)); 583new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\FixedPage.cs (3)
414new FrameworkPropertyMetadata((object)null)); 528new FrameworkPropertyMetadata(Rect.Empty)); 547new FrameworkPropertyMetadata(Rect.Empty));
System\Windows\Documents\Floater.cs (1)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Floater), new FrameworkPropertyMetadata(typeof(Floater)));
System\Windows\Documents\FlowDocument.cs (2)
90DefaultStyleKeyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(_typeofThis)); 91FocusableProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(true));
System\Windows\Documents\Hyperlink.cs (5)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 51FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 303new FrameworkPropertyMetadata((IInputElement)null)); 399new FrameworkPropertyMetadata(string.Empty)); 873new FrameworkPropertyMetadata(false));
System\Windows\Documents\Italic.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic)));
System\Windows\Documents\List.cs (1)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(List), new FrameworkPropertyMetadata(typeof(List)));
System\Windows\Documents\Paragraph.cs (1)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(Paragraph), new FrameworkPropertyMetadata(typeof(Paragraph)));
System\Windows\Documents\Table.cs (1)
50MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN)));
System\windows\Documents\TextEditor.cs (3)
809new FrameworkPropertyMetadata(true)); 819new FrameworkPropertyMetadata(0d)); 1967new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\Underline.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline)));
System\Windows\FrameworkContentElement.cs (4)
837new FrameworkPropertyMetadata(string.Empty)); 856new FrameworkPropertyMetadata((object) null)); 900new FrameworkPropertyMetadata(FrameworkElement.DefaultFocusVisualStyle)); 1858new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkElement.cs (3)
3246new FrameworkPropertyMetadata((object) null)); 3850new FrameworkPropertyMetadata(DefaultFocusVisualStyle)); 5915new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkReadOnlyPropertyMetadata.cs (1)
12base(defaultValue)
System\Windows\Input\KeyboardNavigation.cs (7)
180new FrameworkPropertyMetadata(new Thickness())); 193new FrameworkPropertyMetadata(Int32.MaxValue)); 205new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 220new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 235new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 250new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 285new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Interop\ActiveXHost.cs (3)
84Control.IsTabStopProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 86FocusableProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 90KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Interop\HwndHost.cs (1)
36FocusableProperty.OverrideMetadata(typeof(HwndHost), new FrameworkPropertyMetadata(true));
System\Windows\Markup\XmlAttributeProperties.cs (1)
58new FrameworkPropertyMetadata("default"));
System\Windows\Navigation\NavigationWindow.cs (2)
111new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 160new FrameworkPropertyMetadata(typeof(NavigationWindow)));
System\Windows\Shapes\Ellipse.cs (1)
44StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill));
System\Windows\Shapes\Rectangle.cs (1)
44StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill));
System\Windows\Shell\WindowChrome.cs (1)
236new FrameworkPropertyMetadata(true));
System\Windows\Window.cs (7)
79IsTabStopProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 80KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 81KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 82KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 83FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 85DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window))); 1200new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
PresentationFramework.Aero (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Aero2 (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.AeroLite (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
130SnapsToDevicePixelsProperty.OverrideMetadata(typeof(ClassicBorderDecorator), new FrameworkPropertyMetadata(true));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Luna (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Royale (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationUI (1)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
42IsTextSearchEnabledProperty.OverrideMetadata(typeof(ZoomComboBox), new FrameworkPropertyMetadata(false));
System.Windows.Controls.Ribbon (140)
Microsoft\Windows\Controls\KeyTipControl.cs (3)
24DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 25IsHitTestVisibleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 26FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
283DependencyProperty.RegisterReadOnly("IsStarLayoutPass", typeof(bool), typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
26OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (7)
97DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 98ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel))))); 99 FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 120KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 121KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 227new FrameworkPropertyMetadata(false)); 405new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
82DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenuItem.cs (2)
41DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 203new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (2)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 201new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
47DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 50ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 53ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 531new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (4)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 49ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 52ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 546new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (8)
51DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 52IsTextSearchEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 228new FrameworkPropertyMetadata(0.0d)); 243new FrameworkPropertyMetadata(String.Empty)); 265new FrameworkPropertyMetadata((DataTemplate)null)); 283new FrameworkPropertyMetadata((DataTemplateSelector)null)); 301new FrameworkPropertyMetadata((String)null)); 322new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (2)
48DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 54ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (6)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(typeof(RibbonContextualTabGroup))); 55FocusableProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(false)); 57AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 120new FrameworkPropertyMetadata( 143new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (3)
34DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 38FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(itemsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (3)
52DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 53FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 70AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonControl), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (3)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 46ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template));
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (3)
562new FrameworkPropertyMetadata(new CornerRadius())); 739new FrameworkPropertyMetadata(false)); 903DependencyProperty.RegisterAttachedReadOnly("ShowKeyboardCues", typeof(bool), typeof(RibbonControlService), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (6)
36DependencyProperty.Register("ImageSize", typeof(RibbonImageSize), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(RibbonImageSize.Large)); 46DependencyProperty.Register("IsLabelVisible", typeof(bool), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(true)); 59new FrameworkPropertyMetadata(false)); 72new FrameworkPropertyMetadata(RibbonControlLength.Auto), 86new FrameworkPropertyMetadata(new RibbonControlLength(0)), 100new FrameworkPropertyMetadata(new RibbonControlLength(double.PositiveInfinity)),
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (2)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (5)
62DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 67ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 69ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 1831DependencyProperty.Register("CanUserFilter", typeof(bool), typeof(RibbonGallery), new FrameworkPropertyMetadata(false)); 3190new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (4)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 59FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 61AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 631new FrameworkPropertyMetadata(Visibility.Visible));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (4)
43DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 46ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 48AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 264new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (7)
63DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 64ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel))))); 65ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 70ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 71FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 74AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 1536new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinitionBase.cs (1)
25DependencyProperty.Register("IsCollapsed", typeof(bool), typeof(RibbonGroupSizeDefinitionBase), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (9)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 59ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 62ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 64ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 65IsMainMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 78FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 82KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 513new FrameworkPropertyMetadata(false)); 1631new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (6)
57ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 59DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 61ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 64ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 242new FrameworkPropertyMetadata(false)); 1737new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (4)
107DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 108FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 115KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 257new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (4)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 49ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 52ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 562new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (5)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 286new FrameworkPropertyMetadata(RibbonSplitButtonLabelPosition.Header)); 298new FrameworkPropertyMetadata(false)); 371new FrameworkPropertyMetadata((object)null)); 393new FrameworkPropertyMetadata((IInputElement)null));
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (4)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel))))); 53FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 58AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (3)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 41ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 51AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (5)
35ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel))))); 36DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(RibbonTabHeaderItemsControl))); 37FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 38KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 39KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (5)
47DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 49ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 51ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 600new FrameworkPropertyMetadata(0.0d)); 651new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
47DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 50ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 53ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 569new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
42DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(Ribbon), "RibbonWindowStyle")));
Microsoft\Windows\Controls\TextSearchInternal.cs (3)
75new FrameworkPropertyMetadata((string)null)); 82new FrameworkPropertyMetadata(false)); 95new FrameworkPropertyMetadata((object)null /* default value */));
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (2)
1489new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1492new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue));
System\Windows\Integration\WindowsFormsHost.cs (2)
49FocusableProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true)); 50SWC.Control.IsTabStopProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true));