594 references to FrameworkPropertyMetadata
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
99 FocusableProperty.OverrideMetadata(typeof(BlazorWebView), new FrameworkPropertyMetadata(false));
PresentationFramework (435)
MS\Internal\AppModel\JournalNavigationScope.cs (4)
42new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 50new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 60new FrameworkPropertyMetadata((IEnumerable)null)); 68new FrameworkPropertyMetadata((IEnumerable)null));
MS\Internal\Documents\TextBoxView.cs (1)
37MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
System\Windows\Controls\Button.cs (2)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 160new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Calendar.cs (3)
79DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar))); 80KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 81KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\CheckBox.cs (2)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox))); 35KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ComboBox.cs (10)
36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 43DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 46IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 137new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 390new FrameworkPropertyMetadata(String.Empty)); 412new FrameworkPropertyMetadata((DataTemplate)null)); 430new FrameworkPropertyMetadata((String)null)); 451new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ComboBoxItem.cs (2)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem))); 55new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ContentControl.cs (1)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl)));
System\Windows\Controls\ContentPresenter.cs (2)
129new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 410new FrameworkPropertyMetadata("Content"));
System\Windows\Controls\ContextMenu.cs (6)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu))); 41IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 42KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 43KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 44KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 47FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */));
System\Windows\Controls\ContextMenuService.cs (8)
74new FrameworkPropertyMetadata(0d)); // Default Value 107new FrameworkPropertyMetadata(0d)); // Default Value 140new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); //Default Value 171new FrameworkPropertyMetadata((UIElement)null)); // Default Value 203new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 235new FrameworkPropertyMetadata(PlacementMode.MousePoint)); // Default Value 267new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 299new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value
System\Windows\Controls\Control.cs (3)
27FocusableProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 285new FrameworkPropertyMetadata(HorizontalAlignment.Left), 311new FrameworkPropertyMetadata(VerticalAlignment.Top),
System\Windows\Controls\DataGrid.cs (13)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid))); 43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory))); 45VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 53IsTabStopProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 54KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 153DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader)); 1252DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All)); 1518public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1532public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 3912DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false)); 4066new FrameworkPropertyMetadata(new Thickness(0))); 8001new FrameworkPropertyMetadata(0.0));
System\Windows\Controls\DataGridCell.cs (3)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell))); 32KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 33AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\DataGridCellsPanel.cs (1)
28KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
17ElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 18EditingElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DataGridColumn.cs (2)
1014new FrameworkPropertyMetadata(String.Empty)); 1131new FrameworkPropertyMetadata(false));
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
21new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey));
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
23new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey));
System\Windows\Controls\DataGridComboBoxColumn.cs (4)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey)); 33KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(false)); 264DataGridBoundColumn.ElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 280DataGridBoundColumn.EditingElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
19ElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 20EditingElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DataGridRow.cs (5)
98DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 99ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 100FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 108AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 1291DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
System\Windows\Controls\DataGridTextColumn.cs (2)
20ElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 21EditingElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
System\Windows\Controls\DatePicker.cs (3)
85DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker))); 87KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 88KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(false));
System\Windows\Controls\DocumentViewer.cs (7)
677new FrameworkPropertyMetadata(_canMoveUpDefault)); 703new FrameworkPropertyMetadata(_canMoveDownDefault)); 729new FrameworkPropertyMetadata(_canMoveLeftDefault)); 755new FrameworkPropertyMetadata(_canMoveRightDefault)); 782new FrameworkPropertyMetadata(_canIncreaseZoomDefault)); 811new FrameworkPropertyMetadata(_canDecreaseZoomDefault)); 2024DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
System\Windows\Controls\Expander.cs (2)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander))); 58IsTabStopProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\FlowDocumentReader.cs (7)
48new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 455new FrameworkPropertyMetadata(0)); 470new FrameworkPropertyMetadata(0)); 484new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 499new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 589new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 604new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\FlowDocumentScrollViewer.cs (5)
55new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer"))); 409new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 424new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 461new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 469new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
System\Windows\Controls\Frame.cs (3)
109DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame))); 118KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 119KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Controls\GridSplitter.cs (7)
88DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter))); 92FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(HorizontalAlignment.Right)); 173new FrameworkPropertyMetadata(GridResizeBehavior.BasedOnAlignment), 204new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 224new FrameworkPropertyMetadata((Style)null)); 245new FrameworkPropertyMetadata(10.0), 274new FrameworkPropertyMetadata(1.0),
System\Windows\Controls\GridView.cs (1)
369new FrameworkPropertyMetadata(BooleanBoxes.TrueBox /* default value */
System\Windows\Controls\GridViewColumnHeader.cs (3)
60DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 63FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 148new 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)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem))); 29FocusableProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(false)); 30AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\HeaderedContentControl.cs (2)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl))); 103new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Image.cs (1)
381StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style));
System\Windows\Controls\InkCanvas.cs (6)
87ClipToBoundsProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 92FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 129StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(defaultStyle)); 130DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas))); 132FocusVisualStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((object)null /* default value */)); 782new FrameworkPropertyMetadata(InkCanvasEditingMode.Ink));
System\Windows\Controls\ItemContainerGenerator.cs (1)
1288new FrameworkPropertyMetadata((object)null));
System\Windows\Controls\ItemsControl.cs (4)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl))); 1075new FrameworkPropertyMetadata((int)0)); 1119new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1139new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Label.cs (2)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label))); 138new FrameworkPropertyMetadata((Label)null));
System\Windows\Controls\ListBox.cs (6)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 62IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 64KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 66IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 70ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template));
System\Windows\Controls\ListBoxItem.cs (4)
44DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 46KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 52AutomationProperties.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)
74StyleProperty.OverrideMetadata(typeof(MediaElement), new FrameworkPropertyMetadata(style));
System\Windows\Controls\Menu.cs (5)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 49ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 50IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 52KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\MenuItem.cs (18)
165ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush)); 166FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily)); 167FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize)); 168FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle)); 169FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight)); 178DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem))); 181KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 184FocusVisualStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata((object)null /* default value */)); 191AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 508new FrameworkPropertyMetadata((IInputElement) null)); 746new FrameworkPropertyMetadata(MenuItemRole.TopLevelItem)); 834new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 877new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 976new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1158new FrameworkPropertyMetadata((object)null)); 1173new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1243new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); 2652new FrameworkPropertyMetadata(new BoolField())
System\Windows\Controls\Page.cs (2)
50FocusableProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 52DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page)));
System\Windows\Controls\PasswordBox.cs (2)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox))); 226new FrameworkPropertyMetadata('*')); // Flags
System\Windows\Controls\PopupControlService.cs (1)
1223new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\ButtonBase.cs (3)
28KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 214new FrameworkPropertyMetadata((IInputElement)null)); 387new FrameworkPropertyMetadata(ClickMode.Release),
System\Windows\Controls\Primitives\CalendarButton.cs (1)
20DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton)));
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton)));
System\Windows\Controls\Primitives\CalendarItem.cs (4)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 60FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 61KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter))); 34ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 35FocusableProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(false)); 43VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (4)
27DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 36FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 92DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (4)
35DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 36FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 39ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory))); 47new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (2)
17DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter))); 20AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
118DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader))); 126ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press)); 127FocusableProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(false)); 128AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 170DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible));
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox)));
System\Windows\Controls\Primitives\DocumentViewerBase.cs (6)
64TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 258new FrameworkPropertyMetadata(0)); 274new FrameworkPropertyMetadata(0)); 290new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 306new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 326new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\MenuBase.cs (2)
60FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 80new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\Popup.cs (2)
89new FrameworkPropertyMetadata( 513new FrameworkPropertyMetadata((object) null));
System\Windows\Controls\Primitives\PopupRoot.cs (1)
23SnapsToDevicePixelsProperty.OverrideMetadata(typeof(PopupRoot), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\Primitives\RangeBase.cs (2)
281new FrameworkPropertyMetadata(1.0), 308new FrameworkPropertyMetadata(0.1),
System\Windows\Controls\Primitives\RepeatButton.cs (4)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(typeof(RepeatButton))); 26ClickModeProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(ClickMode.Press)); 51new FrameworkPropertyMetadata(GetKeyboardDelay()), 78new FrameworkPropertyMetadata(GetKeyboardSpeed()),
System\Windows\Controls\Primitives\ResizeGrip.cs (1)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(ResizeGrip), new FrameworkPropertyMetadata(typeof(ResizeGrip)));
System\Windows\Controls\Primitives\ScrollBar.cs (4)
94new FrameworkPropertyMetadata(Orientation.Vertical), 103new FrameworkPropertyMetadata(0.0d), 670DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar))); 676FocusableProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\Selector.cs (1)
781new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\StatusBar.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); 36IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 40ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); 55new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\StatusBarItem.cs (3)
23DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); 26IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 27AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\TabPanel.cs (2)
47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\Primitives\TextBoxBase.cs (3)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase))); 492new FrameworkPropertyMetadata(false /*default value*/)); 756new FrameworkPropertyMetadata(false));
System\Windows\Controls\Primitives\Thumb.cs (1)
40DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
System\Windows\Controls\Primitives\TickBar.cs (1)
60SnapsToDevicePixelsProperty.OverrideMetadata(typeof(TickBar), new FrameworkPropertyMetadata(true));
System\Windows\Controls\Primitives\ToggleButton.cs (2)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 224new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\Track.cs (1)
335new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ProgressBar.cs (3)
36FocusableProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 37DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar))); 41RangeBase.MaximumProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(100.0));
System\Windows\Controls\RadioButton.cs (1)
27DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton)));
System\Windows\Controls\RichTextBox.cs (4)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox))); 47KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 50TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 57TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
System\Windows\Controls\ScrollViewer.cs (20)
446new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 544new FrameworkPropertyMetadata(Visibility.Visible)); 562new FrameworkPropertyMetadata(Visibility.Visible)); 581new FrameworkPropertyMetadata(0d)); 598new FrameworkPropertyMetadata(0d)); 615new FrameworkPropertyMetadata(0d)); 649new FrameworkPropertyMetadata(0d)); 682new FrameworkPropertyMetadata(0d)); 698new FrameworkPropertyMetadata(0d)); 714new FrameworkPropertyMetadata(0d)); 730new FrameworkPropertyMetadata(0d)); 746new FrameworkPropertyMetadata(0d)); 762new FrameworkPropertyMetadata(0d)); 776public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1504new FrameworkPropertyMetadata(0.001), 1544new FrameworkPropertyMetadata(1d), 2908DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2914Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2915IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2916KeyboardNavigation.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)
51new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer"))); 292new FrameworkPropertyMetadata(10d), 303new FrameworkPropertyMetadata(true)); 318new FrameworkPropertyMetadata(true));
System\Windows\Controls\Slider.cs (12)
68DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 271new FrameworkPropertyMetadata(Orientation.Horizontal), 291new FrameworkPropertyMetadata(false)); 314public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 339public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 366new FrameworkPropertyMetadata(Primitives.AutoToolTipPlacement.None), 403new FrameworkPropertyMetadata(0), new ValidateValueCallback(IsValidAutoToolTipPrecision)); 448new FrameworkPropertyMetadata(false)); 471new FrameworkPropertyMetadata(Primitives.TickPlacement.None), 507new FrameworkPropertyMetadata(1.0), 571new FrameworkPropertyMetadata(false)); 735new FrameworkPropertyMetadata(false));
System\Windows\Controls\SpellCheck.cs (1)
172new FrameworkPropertyMetadata(new DictionaryCollectionFactory()));
System\Windows\Controls\StickyNote.cs (7)
109DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata( 112KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 113Control.IsTabStopProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(false)); 231new FrameworkPropertyMetadata(String.Empty)); 301new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 466new FrameworkPropertyMetadata(StickyNoteType.Text)); 752new FrameworkPropertyMetadata(
System\Windows\Controls\TabControl.cs (9)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl))); 38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 104private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null)); 132private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 161private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 190new FrameworkPropertyMetadata((String)null)); 218public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 243public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 270new FrameworkPropertyMetadata((String) null));
System\Windows\Controls\TabItem.cs (4)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 53KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 57AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\TextBlock.cs (1)
322DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock)));
System\Windows\Controls\TextBox.cs (3)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 689new FrameworkPropertyMetadata(CharacterCasing.Normal /*default value*/), 724new FrameworkPropertyMetadata(0), /*default value*/
System\Windows\Controls\TextSearch.cs (4)
71new FrameworkPropertyMetadata(String.Empty /* default value */)); 139new FrameworkPropertyMetadata((string)null)); 146new FrameworkPropertyMetadata(false)); 157new FrameworkPropertyMetadata((object)null /* default value */));
System\Windows\Controls\ToolBar.cs (7)
62DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 69KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 70FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 303new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 332new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ToolBarTray.cs (2)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray))); 46KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\ToolTip.cs (4)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 27BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 28FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 58new FrameworkPropertyMetadata(
System\Windows\Controls\ToolTipService.cs (13)
27new FrameworkPropertyMetadata((object) null)); 65new FrameworkPropertyMetadata(0d)); // Default Value 98new FrameworkPropertyMetadata(0d)); // Default Value 131new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 163new FrameworkPropertyMetadata((UIElement)null)); // Default Value 195new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 227new FrameworkPropertyMetadata(PlacementMode.Mouse)); // Default Value 259new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 291new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 328new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value 365new FrameworkPropertyMetadata(Int32.MaxValue), // Default Value 398new FrameworkPropertyMetadata(1000), // Default Value 431new FrameworkPropertyMetadata(100), // Default Value
System\Windows\Controls\TreeView.cs (7)
30DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView))); 31VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 34KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 36VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel)); 55DependencyProperty.RegisterReadOnly("SelectedItem", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 84DependencyProperty.RegisterReadOnly("SelectedValue", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null));
System\Windows\Controls\TreeViewItem.cs (6)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem))); 32VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 35KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 37IsTabStopProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 45AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\UserControl.cs (5)
20DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl))); 23FocusableProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 24KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 26HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(HorizontalAlignment.Stretch)); 27VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(VerticalAlignment.Stretch));
System\Windows\Controls\ViewPort3D.cs (1)
122new FrameworkPropertyMetadata((object) null));
System\Windows\Controls\VirtualizingPanel.cs (2)
254new FrameworkPropertyMetadata(true)); 286new FrameworkPropertyMetadata(true));
System\Windows\Data\CollectionViewSource.cs (7)
62new FrameworkPropertyMetadata((ICollectionView)null)); 246new FrameworkPropertyMetadata((bool)false)); 310new FrameworkPropertyMetadata((bool?)null)); 369new FrameworkPropertyMetadata((bool)false)); 433new FrameworkPropertyMetadata((bool?)null)); 490new FrameworkPropertyMetadata((bool)false)); 554new FrameworkPropertyMetadata((bool?)null));
System\Windows\Documents\Bold.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold)));
System\Windows\Documents\CompositionAdorner.cs (1)
31IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
System\Windows\Documents\DocumentSequence.cs (2)
42FocusableProperty.OverrideMetadata(typeof(FixedDocumentSequence), new FrameworkPropertyMetadata(true)); 509new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\FixedDocument.cs (2)
53FocusableProperty.OverrideMetadata(typeof(FixedDocument), new FrameworkPropertyMetadata(true)); 572new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\FixedPage.cs (3)
406new FrameworkPropertyMetadata((object)null)); 520new FrameworkPropertyMetadata(Rect.Empty)); 539new FrameworkPropertyMetadata(Rect.Empty));
System\Windows\Documents\Floater.cs (1)
32DefaultStyleKeyProperty.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)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 45FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 297new FrameworkPropertyMetadata((IInputElement)null)); 393new FrameworkPropertyMetadata(string.Empty)); 867new 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)
41MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN)));
System\windows\Documents\TextEditor.cs (3)
803new FrameworkPropertyMetadata(true)); 813new FrameworkPropertyMetadata(0d)); 1961new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\Underline.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline)));
System\Windows\FrameworkContentElement.cs (4)
825new FrameworkPropertyMetadata(string.Empty)); 844new FrameworkPropertyMetadata((object) null)); 888new FrameworkPropertyMetadata(FrameworkElement.DefaultFocusVisualStyle)); 1846new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkElement.cs (3)
3235new FrameworkPropertyMetadata((object) null)); 3839new FrameworkPropertyMetadata(DefaultFocusVisualStyle)); 5904new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkReadOnlyPropertyMetadata.cs (1)
10base(defaultValue)
System\Windows\Input\KeyboardNavigation.cs (7)
170new FrameworkPropertyMetadata(new Thickness())); 183new FrameworkPropertyMetadata(Int32.MaxValue)); 195new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 210new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 225new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 240new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 275new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Interop\ActiveXHost.cs (3)
74Control.IsTabStopProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 76FocusableProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 80KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Interop\HwndHost.cs (1)
30FocusableProperty.OverrideMetadata(typeof(HwndHost), new FrameworkPropertyMetadata(true));
System\Windows\Markup\XmlAttributeProperties.cs (1)
50new FrameworkPropertyMetadata("default"));
System\Windows\Navigation\NavigationWindow.cs (2)
95new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 144new FrameworkPropertyMetadata(typeof(NavigationWindow)));
System\Windows\Shapes\Ellipse.cs (1)
35StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill));
System\Windows\Shapes\Rectangle.cs (1)
36StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill));
System\Windows\Shell\WindowChrome.cs (1)
233new FrameworkPropertyMetadata(true));
System\Windows\Window.cs (7)
66IsTabStopProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 69KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 70FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 72DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window))); 1187new 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)
127SnapsToDevicePixelsProperty.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)
40IsTextSearchEnabledProperty.OverrideMetadata(typeof(ZoomComboBox), new FrameworkPropertyMetadata(false));
System.Windows.Controls.Ribbon (140)
Microsoft\Windows\Controls\KeyTipControl.cs (3)
20DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 21IsHitTestVisibleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 22FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
278DependencyProperty.RegisterReadOnly("IsStarLayoutPass", typeof(bool), typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
22OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (7)
94DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 95ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel))))); 96 FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 117KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 118KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 224new FrameworkPropertyMetadata(false)); 402new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
80DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenuItem.cs (2)
38DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 200new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (2)
36DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 198new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (4)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 50ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 528new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (4)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 50ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 544new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (8)
49DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 50IsTextSearchEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 226new FrameworkPropertyMetadata(0.0d)); 241new FrameworkPropertyMetadata(String.Empty)); 263new FrameworkPropertyMetadata((DataTemplate)null)); 281new FrameworkPropertyMetadata((DataTemplateSelector)null)); 299new FrameworkPropertyMetadata((String)null)); 320new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (2)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 52ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (6)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(typeof(RibbonContextualTabGroup))); 53FocusableProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(false)); 55AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 118new FrameworkPropertyMetadata( 141new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (3)
32DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 36FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 41ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(itemsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (3)
48DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 49FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 66AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonControl), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (3)
36DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 37FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template));
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (3)
555new FrameworkPropertyMetadata(new CornerRadius())); 732new FrameworkPropertyMetadata(false)); 896DependencyProperty.RegisterAttachedReadOnly("ShowKeyboardCues", typeof(bool), typeof(RibbonControlService), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (6)
34DependencyProperty.Register("ImageSize", typeof(RibbonImageSize), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(RibbonImageSize.Large)); 44DependencyProperty.Register("IsLabelVisible", typeof(bool), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(true)); 57new FrameworkPropertyMetadata(false)); 70new FrameworkPropertyMetadata(RibbonControlLength.Auto), 84new FrameworkPropertyMetadata(new RibbonControlLength(0)), 98new FrameworkPropertyMetadata(new RibbonControlLength(double.PositiveInfinity)),
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (2)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 38RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (5)
60DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 65ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 67ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 1829DependencyProperty.Register("CanUserFilter", typeof(bool), typeof(RibbonGallery), new FrameworkPropertyMetadata(false)); 3188new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (4)
50DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 54FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 56AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 626new FrameworkPropertyMetadata(Visibility.Visible));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (4)
41DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 44ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 46AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 262new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (7)
60DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 61ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel))))); 62ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 67ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 68FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 71AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 1533new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinitionBase.cs (1)
23DependencyProperty.Register("IsCollapsed", typeof(bool), typeof(RibbonGroupSizeDefinitionBase), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (9)
52DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 56ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 59ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 61ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 62IsMainMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 75FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 79KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 510new FrameworkPropertyMetadata(false)); 1628new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (6)
54ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 56DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 58ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 61ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 239new FrameworkPropertyMetadata(false)); 1734new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (4)
102DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 103FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 110KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 252new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (4)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 50ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 560new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (5)
42DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 284new FrameworkPropertyMetadata(RibbonSplitButtonLabelPosition.Header)); 296new FrameworkPropertyMetadata(false)); 369new FrameworkPropertyMetadata((object)null)); 391new FrameworkPropertyMetadata((IInputElement)null));
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (4)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 45ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel))))); 51FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 56AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (3)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 39ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 49AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (5)
33ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel))))); 34DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(RibbonTabHeaderItemsControl))); 35FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (5)
45DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 49ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 598new FrameworkPropertyMetadata(0.0d)); 649new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (4)
45DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 48ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 51ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 567new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
43DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 44FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
50DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(Ribbon), "RibbonWindowStyle")));
Microsoft\Windows\Controls\TextSearchInternal.cs (3)
72new FrameworkPropertyMetadata((string)null)); 79new FrameworkPropertyMetadata(false)); 92new FrameworkPropertyMetadata((object)null /* default value */));
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (2)
1486new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1489new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue));
System\Windows\Integration\WindowsFormsHost.cs (2)
47FocusableProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true)); 48SWC.Control.IsTabStopProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true));