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