90 references to DefaultStyleKeyProperty
PresentationFramework (84)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
652SetValue(DefaultStyleKeyProperty, SystemParameters.NavigationChromeDownLevelStyleKey); 662SetValue(DefaultStyleKeyProperty, SystemParameters.NavigationChromeStyleKey);
src\Framework\System\Windows\Controls\Button.cs (1)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button)));
src\Framework\System\Windows\Controls\Calendar.cs (1)
84DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar)));
src\Framework\System\Windows\Controls\CheckBox.cs (1)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox)));
src\Framework\System\Windows\Controls\ComboBox.cs (1)
54DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox)));
src\Framework\System\Windows\Controls\ComboBoxItem.cs (1)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem)));
src\Framework\System\Windows\Controls\ContentControl.cs (1)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl)));
src\Framework\System\Windows\Controls\ContextMenu.cs (1)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu)));
src\Framework\System\Windows\Controls\DataGrid.cs (1)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid)));
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell)));
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
24DefaultStyleKeyProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
26DefaultStyleKeyProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey));
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
103DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow)));
src\Framework\System\Windows\Controls\DatePicker.cs (1)
90DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker)));
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2081DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
src\Framework\System\Windows\Controls\Expander.cs (1)
60DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander)));
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
52DefaultStyleKeyProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
57DefaultStyleKeyProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\Frame.cs (1)
128DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame)));
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
95DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter)));
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
67DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader)));
src\Framework\System\Windows\Controls\GroupBox.cs (1)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(typeof(GroupBox)));
src\Framework\System\Windows\Controls\GroupItem.cs (1)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem)));
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl)));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
153DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas)));
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl)));
src\Framework\System\Windows\Controls\Label.cs (1)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label)));
src\Framework\System\Windows\Controls\ListBox.cs (1)
63DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox)));
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem)));
src\Framework\System\Windows\Controls\ListView.cs (1)
258ClearValue(DefaultStyleKeyProperty);
src\Framework\System\Windows\Controls\ListViewItem.cs (1)
33ClearValue(DefaultStyleKeyProperty);
src\Framework\System\Windows\Controls\Menu.cs (1)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu)));
src\Framework\System\Windows\Controls\MenuItem.cs (1)
191DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem)));
src\Framework\System\Windows\Controls\Page.cs (1)
67DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page)));
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
61DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox)));
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 (1)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem)));
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter)));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader)));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter)));
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
124DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader)));
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox)));
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (1)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(typeof(RepeatButton)));
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 (1)
691DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar)));
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar)));
src\Framework\System\Windows\Controls\Primitives\StatusBarItem.cs (1)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem)));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
62DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase)));
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton)));
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar)));
src\Framework\System\Windows\Controls\RadioButton.cs (1)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton)));
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox)));
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2956DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer)));
src\Framework\System\Windows\Controls\Separator.cs (1)
22DefaultStyleKeyProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(typeof(Separator)));
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
54DefaultStyleKeyProperty.OverrideMetadata(
src\Framework\System\Windows\Controls\Slider.cs (1)
80DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider)));
src\Framework\System\Windows\Controls\StickyNote.cs (1)
135DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(
src\Framework\System\Windows\Controls\TabControl.cs (1)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl)));
src\Framework\System\Windows\Controls\TabItem.cs (1)
57DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem)));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
347DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock)));
src\Framework\System\Windows\Controls\TextBox.cs (1)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox)));
src\Framework\System\Windows\Controls\ToolBar.cs (1)
72DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar)));
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray)));
src\Framework\System\Windows\Controls\ToolTip.cs (1)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip)));
src\Framework\System\Windows\Controls\TreeView.cs (1)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView)));
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem)));
src\Framework\System\Windows\Controls\UserControl.cs (1)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl)));
src\Framework\System\Windows\FrameworkContentElement.cs (1)
194FrameworkElement.DefaultStyleKeyProperty.AddOwner(
src\Framework\System\Windows\FrameworkElement.cs (3)
253get { return GetValue(DefaultStyleKeyProperty); } 254set { SetValue(DefaultStyleKeyProperty, value); } 2099if (dp != StyleProperty && dp != Control.TemplateProperty && dp != DefaultStyleKeyProperty)
src\Framework\System\Windows\Navigation\NavigationWindow.cs (1)
171DefaultStyleKeyProperty.OverrideMetadata(
src\Framework\System\Windows\StyleHelper.cs (6)
133if(ShouldGetValueFromStyle ( FrameworkElement.DefaultStyleKeyProperty ) ) 182if(ShouldGetValueFromStyle ( FrameworkElement.DefaultStyleKeyProperty ) ) 465if (StyleHelper.IsSetOnContainer(FrameworkElement.DefaultStyleKeyProperty, ref containerDependents, true)) 467throw new InvalidOperationException(SR.Get(SRID.CannotHavePropertyInTemplate, FrameworkElement.DefaultStyleKeyProperty.Name)); 3117dp != FrameworkElement.DefaultStyleKeyProperty && 3132dp != FrameworkElement.DefaultStyleKeyProperty &&
src\Framework\System\Windows\Window.cs (1)
95DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window)));
System.Activities.Presentation (6)
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\Toolbox\ToolboxControl.cs (1)
90DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolboxControl), new FrameworkPropertyMetadata(typeof(ToolboxControl)));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
100DefaultStyleKeyProperty.OverrideMetadata(
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
44DefaultStyleKeyProperty.OverrideMetadata(
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
30DefaultStyleKeyProperty.OverrideMetadata(