493 references to FrameworkPropertyMetadata
PresentationFramework (438)
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (4)
50new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 58new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 68new FrameworkPropertyMetadata((IEnumerable)null)); 76new FrameworkPropertyMetadata((IEnumerable)null));
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
41MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
src\Framework\System\Windows\Controls\Button.cs (2)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 165new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Calendar.cs (3)
84DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar))); 85KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 86KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
src\Framework\System\Windows\Controls\CheckBox.cs (2)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox))); 44KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ComboBox.cs (10)
47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 48KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 49KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 54DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 57IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 148new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 401new FrameworkPropertyMetadata(String.Empty)); 423new FrameworkPropertyMetadata((DataTemplate)null)); 441new FrameworkPropertyMetadata((String)null)); 462new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ComboBoxItem.cs (2)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem))); 68new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ContentControl.cs (1)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl)));
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
140new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 421new FrameworkPropertyMetadata("Content"));
src\Framework\System\Windows\Controls\ContextMenu.cs (6)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu))); 53IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 56KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 59FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */));
src\Framework\System\Windows\Controls\ContextMenuService.cs (8)
85new FrameworkPropertyMetadata(0d)); // Default Value 124new FrameworkPropertyMetadata(0d)); // Default Value 163new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); //Default Value 200new FrameworkPropertyMetadata((UIElement)null)); // Default Value 238new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 276new FrameworkPropertyMetadata(PlacementMode.MousePoint)); // Default Value 314new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 352new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value
src\Framework\System\Windows\Controls\Control.cs (3)
37FocusableProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 295new FrameworkPropertyMetadata(HorizontalAlignment.Left), 321new FrameworkPropertyMetadata(VerticalAlignment.Top),
src\Framework\System\Windows\Controls\DataGrid.cs (13)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid))); 47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory))); 49VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 57IsTabStopProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 58KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 59KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 157DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader)); 1256DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All)); 1522public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1536public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 3920DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false)); 4074new FrameworkPropertyMetadata(new Thickness(0))); 8010new FrameworkPropertyMetadata(0.0));
src\Framework\System\Windows\Controls\DataGridCell.cs (3)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell))); 37KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
33KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
22ElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 23EditingElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
src\Framework\System\Windows\Controls\DataGridColumn.cs (2)
1024new FrameworkPropertyMetadata(String.Empty)); 1141new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
26new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey));
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
28new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey));
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (4)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey)); 38KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(false)); 269DataGridBoundColumn.ElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 285DataGridBoundColumn.EditingElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
26ElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 27EditingElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
src\Framework\System\Windows\Controls\DataGridRow.cs (5)
103DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 104ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 105FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 113AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 1296DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (2)
24ElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 25EditingElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle));
src\Framework\System\Windows\Controls\DatePicker.cs (3)
90DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker))); 92KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 93KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\DocumentViewer.cs (7)
703new FrameworkPropertyMetadata(_canMoveUpDefault)); 729new FrameworkPropertyMetadata(_canMoveDownDefault)); 755new FrameworkPropertyMetadata(_canMoveLeftDefault)); 781new FrameworkPropertyMetadata(_canMoveRightDefault)); 808new FrameworkPropertyMetadata(_canIncreaseZoomDefault)); 837new FrameworkPropertyMetadata(_canDecreaseZoomDefault)); 2081DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
src\Framework\System\Windows\Controls\Expander.cs (2)
60DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander))); 63IsTabStopProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (7)
54new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 461new FrameworkPropertyMetadata(0)); 476new FrameworkPropertyMetadata(0)); 490new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 505new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 595new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 610new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (5)
59new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer"))); 413new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 428new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 465new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 473new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
src\Framework\System\Windows\Controls\Frame.cs (3)
128DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame))); 137KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 138KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
src\Framework\System\Windows\Controls\GridSplitter.cs (7)
95DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter))); 99FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(HorizontalAlignment.Right)); 180new FrameworkPropertyMetadata(GridResizeBehavior.BasedOnAlignment), 211new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 231new FrameworkPropertyMetadata((Style)null)); 252new FrameworkPropertyMetadata(10.0), 281new FrameworkPropertyMetadata(1.0),
src\Framework\System\Windows\Controls\GridView.cs (1)
372new FrameworkPropertyMetadata(BooleanBoxes.TrueBox /* default value */
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (3)
67DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 70FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 155new FrameworkPropertyMetadata(GridViewColumnHeaderRole.Normal));
src\Framework\System\Windows\Controls\GroupBox.cs (3)
26FocusableProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 27IsTabStopProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 28DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(typeof(GroupBox)));
src\Framework\System\Windows\Controls\GroupItem.cs (3)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem))); 39FocusableProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(false)); 40AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (2)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl))); 109new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Image.cs (1)
394StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style));
src\Framework\System\Windows\Controls\InkCanvas.cs (6)
110ClipToBoundsProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 115FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 152StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(defaultStyle)); 153DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas))); 155FocusVisualStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((object)null /* default value */)); 813new FrameworkPropertyMetadata(InkCanvasEditingMode.Ink));
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1302new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl))); 1086new FrameworkPropertyMetadata((int)0)); 1131new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1151new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Label.cs (2)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label))); 144new FrameworkPropertyMetadata((Label)null));
src\Framework\System\Windows\Controls\ListBox.cs (6)
63DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 66IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 70IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 74ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template));
src\Framework\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));
src\Framework\System\Windows\Controls\ListView.cs (1)
44SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(SelectionMode.Extended));
src\Framework\System\Windows\Controls\MediaElement.cs (1)
86StyleProperty.OverrideMetadata(typeof(MediaElement), new FrameworkPropertyMetadata(style));
src\Framework\System\Windows\Controls\Menu.cs (5)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 62ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 63IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 65KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 66KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
src\Framework\System\Windows\Controls\MenuItem.cs (19)
178ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush)); 179FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily)); 180FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontSize)); 181FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle)); 182FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight)); 191DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem))); 194KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 197FocusVisualStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata((object)null /* default value */)); 204AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 492new FrameworkPropertyMetadata((object) null)); 513new FrameworkPropertyMetadata((IInputElement) null)); 751new FrameworkPropertyMetadata(MenuItemRole.TopLevelItem)); 839new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 882new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 972new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1154new FrameworkPropertyMetadata((object)null)); 1169new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1239new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); 2719new FrameworkPropertyMetadata(new BoolField())
src\Framework\System\Windows\Controls\Page.cs (2)
65FocusableProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page)));
src\Framework\System\Windows\Controls\PasswordBox.cs (2)
61DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox))); 250new FrameworkPropertyMetadata('*')); // Flags
src\Framework\System\Windows\Controls\PopupControlService.cs (1)
1134new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (4)
36KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 207new FrameworkPropertyMetadata((object) null)); 220new FrameworkPropertyMetadata((IInputElement)null)); 387new FrameworkPropertyMetadata(ClickMode.Release),
src\Framework\System\Windows\Controls\Primitives\CalendarButton.cs (1)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton)));
src\Framework\System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton)));
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (4)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 66FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 67KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 68KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (4)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter))); 40ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 41FocusableProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(false)); 49VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 42FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 44AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 98DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible));
src\Framework\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));
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (2)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter))); 24AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
124DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader))); 132ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press)); 133FocusableProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(false)); 134AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 176DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible));
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox)));
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (6)
72TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 266new FrameworkPropertyMetadata(0)); 282new FrameworkPropertyMetadata(0)); 298new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 314new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 334new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (2)
71FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 91new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
97new FrameworkPropertyMetadata( 518new FrameworkPropertyMetadata((object) null));
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
28SnapsToDevicePixelsProperty.OverrideMetadata(typeof(PopupRoot), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (2)
294new FrameworkPropertyMetadata(1.0), 321new FrameworkPropertyMetadata(0.1),
src\Framework\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()),
src\Framework\System\Windows\Controls\Primitives\ResizeGrip.cs (1)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(ResizeGrip), new FrameworkPropertyMetadata(typeof(ResizeGrip)));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (4)
112new FrameworkPropertyMetadata(Orientation.Vertical), 121new FrameworkPropertyMetadata(0.0d), 691DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar))); 697FocusableProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
800new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (4)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); 40IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 44ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); 59new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
src\Framework\System\Windows\Controls\Primitives\StatusBarItem.cs (3)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); 28IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 29AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (2)
56KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 57KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (3)
62DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase))); 524new FrameworkPropertyMetadata(false /*default value*/)); 788new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (1)
75SnapsToDevicePixelsProperty.OverrideMetadata(typeof(TickBar), new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (2)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 235new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\Primitives\Track.cs (1)
348new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ProgressBar.cs (3)
46FocusableProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 47DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar))); 51RangeBase.MaximumProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(100.0));
src\Framework\System\Windows\Controls\RadioButton.cs (1)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton)));
src\Framework\System\Windows\Controls\RichTextBox.cs (4)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox))); 53KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 56TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 63TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue));
src\Framework\System\Windows\Controls\ScrollViewer.cs (20)
457new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 573new FrameworkPropertyMetadata(Visibility.Visible)); 591new FrameworkPropertyMetadata(Visibility.Visible)); 610new FrameworkPropertyMetadata(0d)); 627new FrameworkPropertyMetadata(0d)); 644new FrameworkPropertyMetadata(0d)); 678new FrameworkPropertyMetadata(0d)); 711new FrameworkPropertyMetadata(0d)); 727new FrameworkPropertyMetadata(0d)); 743new FrameworkPropertyMetadata(0d)); 759new FrameworkPropertyMetadata(0d)); 775new FrameworkPropertyMetadata(0d)); 791new FrameworkPropertyMetadata(0d)); 805public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1546new FrameworkPropertyMetadata(0.001), 1592new FrameworkPropertyMetadata(1d), 2956DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2962Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2963IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2964KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
src\Framework\System\Windows\Controls\Separator.cs (2)
22DefaultStyleKeyProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(typeof(Separator))); 25IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (4)
56new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer"))); 297new FrameworkPropertyMetadata(10d), 308new FrameworkPropertyMetadata(true)); 323new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Controls\Slider.cs (12)
80DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 284new FrameworkPropertyMetadata(Orientation.Horizontal), 304new FrameworkPropertyMetadata(false)); 327public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 352public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 379new FrameworkPropertyMetadata(Primitives.AutoToolTipPlacement.None), 416new FrameworkPropertyMetadata(0), new ValidateValueCallback(IsValidAutoToolTipPrecision)); 461new FrameworkPropertyMetadata(false)); 484new FrameworkPropertyMetadata(Primitives.TickPlacement.None), 520new FrameworkPropertyMetadata(1.0), 584new FrameworkPropertyMetadata(false)); 748new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Controls\SpellCheck.cs (1)
189new FrameworkPropertyMetadata(new DictionaryCollectionFactory()));
src\Framework\System\Windows\Controls\StickyNote.cs (7)
135DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata( 138KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 139Control.IsTabStopProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(false)); 257new FrameworkPropertyMetadata(String.Empty)); 327new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 492new FrameworkPropertyMetadata(StickyNoteType.Text)); 778new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\TabControl.cs (9)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl))); 49KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 115private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null)); 143private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 172private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 201new FrameworkPropertyMetadata((String)null)); 229public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 254public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 281new FrameworkPropertyMetadata((String) null));
src\Framework\System\Windows\Controls\TabItem.cs (4)
57DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 59KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 60KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 64AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
347DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock)));
src\Framework\System\Windows\Controls\TextBox.cs (3)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 725new FrameworkPropertyMetadata(CharacterCasing.Normal /*default value*/), 760new FrameworkPropertyMetadata(0), /*default value*/
src\Framework\System\Windows\Controls\TextSearch.cs (4)
85new FrameworkPropertyMetadata(String.Empty /* default value */)); 165new FrameworkPropertyMetadata((string)null)); 172new FrameworkPropertyMetadata(false)); 183new FrameworkPropertyMetadata((object)null /* default value */));
src\Framework\System\Windows\Controls\ToolBar.cs (7)
72DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 77KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 78KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 79KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 80FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 313new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 342new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\ToolBarTray.cs (2)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray))); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
src\Framework\System\Windows\Controls\ToolTip.cs (4)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 41BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 42FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 73new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\ToolTipService.cs (13)
33new FrameworkPropertyMetadata((object) null)); 77new FrameworkPropertyMetadata(0d)); // Default Value 116new FrameworkPropertyMetadata(0d)); // Default Value 155new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 193new FrameworkPropertyMetadata((UIElement)null)); // Default Value 231new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 269new FrameworkPropertyMetadata(PlacementMode.Mouse)); // Default Value 307new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 345new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 388new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value 431new FrameworkPropertyMetadata(5000), // Default Value 470new FrameworkPropertyMetadata(SystemParameters.MouseHoverTimeMilliseconds), // Default Value 509new FrameworkPropertyMetadata(100), // Default Value
src\Framework\System\Windows\Controls\TreeView.cs (7)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView))); 37VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 40KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 41KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 42VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel)); 61DependencyProperty.RegisterReadOnly("SelectedItem", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 90DependencyProperty.RegisterReadOnly("SelectedValue", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Controls\TreeViewItem.cs (6)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem))); 37VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 40KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 41KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 42IsTabStopProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 50AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
src\Framework\System\Windows\Controls\UserControl.cs (5)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl))); 31FocusableProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 32KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 34HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(HorizontalAlignment.Stretch)); 35VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(VerticalAlignment.Stretch));
src\Framework\System\Windows\Controls\ViewPort3D.cs (1)
132new FrameworkPropertyMetadata((object) null));
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (2)
297new FrameworkPropertyMetadata(true)); 335new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Data\CollectionViewSource.cs (7)
65new FrameworkPropertyMetadata((ICollectionView)null)); 249new FrameworkPropertyMetadata((bool)false)); 313new FrameworkPropertyMetadata((bool?)null)); 372new FrameworkPropertyMetadata((bool)false)); 436new FrameworkPropertyMetadata((bool?)null)); 493new FrameworkPropertyMetadata((bool)false)); 557new FrameworkPropertyMetadata((bool?)null));
src\Framework\System\Windows\Documents\Bold.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold)));
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
36IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
51FocusableProperty.OverrideMetadata(typeof(FixedDocumentSequence), new FrameworkPropertyMetadata(true)); 539new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
69FocusableProperty.OverrideMetadata(typeof(FixedDocument), new FrameworkPropertyMetadata(true)); 610new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Documents\FixedPage.cs (3)
421new FrameworkPropertyMetadata((object)null)); 535new FrameworkPropertyMetadata(Rect.Empty)); 554new FrameworkPropertyMetadata(Rect.Empty));
src\Framework\System\Windows\Documents\Floater.cs (1)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Floater), new FrameworkPropertyMetadata(typeof(Floater)));
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
95DefaultStyleKeyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(_typeofThis)); 96FocusableProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Documents\Hyperlink.cs (6)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 53FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 268new FrameworkPropertyMetadata((object)null)); 297new FrameworkPropertyMetadata((IInputElement)null)); 399new FrameworkPropertyMetadata(string.Empty)); 926new FrameworkPropertyMetadata(false));
src\Framework\System\Windows\Documents\Italic.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic)));
src\Framework\System\Windows\Documents\List.cs (1)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(List), new FrameworkPropertyMetadata(typeof(List)));
src\Framework\System\Windows\Documents\Paragraph.cs (1)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(Paragraph), new FrameworkPropertyMetadata(typeof(Paragraph)));
src\Framework\System\Windows\Documents\Table.cs (1)
55MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN)));
src\Framework\System\windows\Documents\TextEditor.cs (3)
836new FrameworkPropertyMetadata(true)); 846new FrameworkPropertyMetadata(0d)); 2018new FrameworkPropertyMetadata((object)null));
src\Framework\System\Windows\Documents\Underline.cs (1)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline)));
src\Framework\System\Windows\FrameworkContentElement.cs (4)
843new FrameworkPropertyMetadata(string.Empty)); 862new FrameworkPropertyMetadata((object) null)); 906new FrameworkPropertyMetadata(FrameworkElement.DefaultFocusVisualStyle)); 1869new FrameworkPropertyMetadata((ContextMenu) null));
src\Framework\System\Windows\FrameworkElement.cs (3)
3245new FrameworkPropertyMetadata((object) null)); 3849new FrameworkPropertyMetadata(DefaultFocusVisualStyle)); 5921new FrameworkPropertyMetadata((ContextMenu) null));
src\Framework\System\Windows\FrameworkReadOnlyPropertyMetadata.cs (1)
8base(defaultValue)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (7)
192new FrameworkPropertyMetadata(new Thickness())); 205new FrameworkPropertyMetadata(Int32.MaxValue)); 217new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 232new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 247new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 262new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 297new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Interop\ActiveXHost.cs (3)
91Control.IsTabStopProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 93FocusableProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 97KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
src\Framework\System\Windows\Interop\HwndHost.cs (1)
39FocusableProperty.OverrideMetadata(typeof(HwndHost), new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (1)
65new FrameworkPropertyMetadata("default"));
src\Framework\System\Windows\Navigation\NavigationWindow.cs (2)
124new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 173new FrameworkPropertyMetadata(typeof(NavigationWindow)));
src\Framework\System\Windows\Shapes\Ellipse.cs (1)
47StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill));
src\Framework\System\Windows\Shapes\Rectangle.cs (1)
47StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill));
src\Framework\System\Windows\Shell\WindowChrome.cs (1)
234new FrameworkPropertyMetadata(true));
src\Framework\System\Windows\Window.cs (7)
89IsTabStopProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 90KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 91KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 92KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 93FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 95DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window))); 1229new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
PresentationFramework.Aero (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
135SnapsToDevicePixelsProperty.OverrideMetadata(typeof(ClassicBorderDecorator), new FrameworkPropertyMetadata(true));
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Luna (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
PresentationFramework.Royale (2)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
27SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 162DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (4)
138new FrameworkPropertyMetadata(DefaultWidthForState)); 144new FrameworkPropertyMetadata(DefaultHeightForState)); 179new FrameworkPropertyMetadata(false)); 184new FrameworkPropertyMetadata(false));
System.Activities.Presentation (42)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(ActivityDelegatePresenter), new FrameworkPropertyMetadata(typeof(ActivityDelegatePresenter)));
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(ActivityDesigner), new FrameworkPropertyMetadata(typeof(ActivityDesigner)));
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
18public static readonly DependencyProperty AnchorProperty = DependencyProperty.RegisterAttached("Anchor", typeof(AdornerLocation), typeof(AnnotationAdorner), new FrameworkPropertyMetadata(AdornerLocation.None));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
63UIElement.FocusableProperty.OverrideMetadata(typeof(CategoryList), new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (2)
42public static readonly DependencyProperty AdvancedSectionPinnedProperty = DependencyProperty.Register("AdvancedSectionPinned", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(false)); 44public static readonly DependencyProperty BasicPropertyMatchesFilterProperty = DependencyProperty.Register("BasicPropertyMatchesFilter", typeof(bool), typeof(CategoryContainer), new FrameworkPropertyMetadata(true));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (2)
49public static readonly DependencyProperty IconResourceSuffixProperty = DependencyProperty.Register("IconResourceSuffix", typeof(string), typeof(ChoiceEditor), new FrameworkPropertyMetadata("Icon")); 74public static readonly DependencyProperty ForceBindingProperty = DependencyProperty.Register("ForceBinding", typeof(bool), typeof(ChoiceEditor), new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (9)
34new FrameworkPropertyMetadata(false)); 40new FrameworkPropertyMetadata(true)); 43new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 46new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 49new FrameworkPropertyMetadata(false)); 52new FrameworkPropertyMetadata(true)); 55new FrameworkPropertyMetadata(false)); 58new FrameworkPropertyMetadata(false)); 61new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\Expressions\TextualExpressionEditor.cs (2)
20new FrameworkPropertyMetadata(Int32.MaxValue)); 23new FrameworkPropertyMetadata(1));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (4)
31new FrameworkPropertyMetadata(new PointCollection())); 37new FrameworkPropertyMetadata(false)); 49new FrameworkPropertyMetadata(false)); 55new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (3)
25public static readonly DependencyProperty LocationProperty = DependencyProperty.RegisterAttached("Location", typeof(Point), typeof(FreeFormPanel), new FrameworkPropertyMetadata(new Point(-1, -1))); 26public static readonly DependencyProperty RequiredWidthProperty = DependencyProperty.Register("RequiredWidth", typeof(Double), typeof(FreeFormPanel), new FrameworkPropertyMetadata(double.NaN)); 27public static readonly DependencyProperty RequiredHeightProperty = DependencyProperty.Register("RequiredHeight", typeof(Double), typeof(FreeFormPanel), new FrameworkPropertyMetadata(double.NaN));
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
90DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolboxControl), new FrameworkPropertyMetadata(typeof(ToolboxControl)));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (9)
51new FrameworkPropertyMetadata(true)); 54new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 57new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden)); 60new FrameworkPropertyMetadata(Int32.MaxValue)); 63new FrameworkPropertyMetadata(1)); 66new FrameworkPropertyMetadata(false)); 72new FrameworkPropertyMetadata(true)); 75new FrameworkPropertyMetadata(false)); 78new FrameworkPropertyMetadata(false));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
102new FrameworkPropertyMetadata(typeof(ExtensionWindow)));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
46new FrameworkPropertyMetadata(typeof(ExtensionWindowHeader)));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
32new FrameworkPropertyMetadata(typeof(ExtensionWindowResizeGrip)));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
57new FrameworkPropertyMetadata(ValidationState.Valid)); 113ExpressionActivityEditor.HintTextProperty.OverrideMetadata(typeof(VisualBasicEditor), new FrameworkPropertyMetadata(SR.ExpressionDefaultText));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
46DependencyProperty.Register("IsRootDesigner", typeof(bool), typeof(WorkflowViewElement), new FrameworkPropertyMetadata(false));