13 instantiations of Style
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
65Resources.Add(ToolTipStyleKey, new Style(typeof(ToolTip))
PresentationFramework (12)
System\Windows\Controls\AccessText.cs (1)
554Style accessKeyStyle = new Style(typeof(Run));
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
38Style style = new Style(typeof(CheckBox), baseStyle); 70Style style = new Style(typeof(CheckBox), baseStyle);
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
223Style style = new Style(typeof(ComboBox));
System\Windows\Controls\DataGridTextColumn.cs (2)
35Style style = new Style(typeof(TextBlock)); 58Style style = new Style(typeof(TextBox));
System\Windows\Controls\Image.cs (1)
409Style style = new Style(typeof(Image), null);
System\Windows\Controls\InkCanvas.cs (1)
94Style defaultStyle = new Style(ownerType);
System\Windows\Controls\MediaElement.cs (1)
101Style style = new Style(typeof(MediaElement), null);
System\Windows\FrameworkElement.cs (1)
3812Style defaultFocusVisualStyle = new Style();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10729DefaultConstructor = delegate () { return new System.Windows.Style(); },
System\Windows\Markup\KnownTypes.cs (1)
1571case KnownElements.Style: o = new System.Windows.Style(); break;
334 references to Style
Microsoft.VisualStudio.LanguageServices (4)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.g.cs (3)
109((System.Windows.Style)(target)).Setters.Add(eventSetter); 120((System.Windows.Style)(target)).Setters.Add(eventSetter); 131((System.Windows.Style)(target)).Setters.Add(eventSetter);
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
102ToolTip = new ToolTip { Content = viewModel.ToolTipTextBlock, Style = (Style)FindResource(ToolTipStyleKey) };
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
279Style = (Style)Application.Current.FindResource(VsResourceKeys.ComboBoxStyleKey)
PresentationFramework (285)
MS\Internal\FrameworkObject.cs (2)
163internal Style ThemeStyle 331internal Style Style
MS\Internal\Helper.cs (1)
325(style is Style || style is ResourceReferenceExpression))
System\Windows\Controls\AccessText.cs (3)
548private static Style AccessKeyStyle 554Style accessKeyStyle = new Style(typeof(Run)); 802private static Style _accessKeyStyle;
System\Windows\Controls\Calendar.cs (9)
117public Style CalendarButtonStyle 119get { return (Style)GetValue(CalendarButtonStyleProperty); } 129typeof(Style), 139public Style CalendarDayButtonStyle 141get { return (Style)GetValue(CalendarDayButtonStyleProperty); } 151typeof(Style), 161public Style CalendarItemStyle 163get { return (Style)GetValue(CalendarItemStyleProperty); } 173typeof(Style),
System\Windows\Controls\DataGrid.cs (18)
883public Style RowStyle 885get { return (Style)GetValue(RowStyleProperty); } 893DependencyProperty.Register("RowStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleChanged))); 1371public Style CellStyle 1373get { return (Style)GetValue(CellStyleProperty); } 1381DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndCellPropertyChanged))); 1386public Style ColumnHeaderStyle 1388get { return (Style)GetValue(ColumnHeaderStyleProperty); } 1396DependencyProperty.Register("ColumnHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 1401public Style RowHeaderStyle 1403get { return (Style)GetValue(RowHeaderStyleProperty); } 1411DependencyProperty.Register("RowHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 8099DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged)); 8104public Style DragIndicatorStyle 8106get { return (Style)GetValue(DragIndicatorStyleProperty); } 8114DependencyProperty.Register("DropLocationIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null)); 8119public Style DropLocationIndicatorStyle 8121get { return (Style)GetValue(DropLocationIndicatorStyleProperty); }
System\Windows\Controls\DataGridBoundColumn.cs (9)
117public Style ElementStyle 119get { return (Style)GetValue(ElementStyleProperty); } 129typeof(Style), 137public Style EditingElementStyle 139get { return (Style)GetValue(EditingElementStyleProperty); } 149typeof(Style), 158Style style = PickStyle(isEditing, defaultToElementStyle); 165private Style PickStyle(bool isEditing, bool defaultToElementStyle) 167Style style = isEditing ? EditingElementStyle : ElementStyle;
System\Windows\Controls\DataGridCheckBoxColumn.cs (10)
26public static Style DefaultElementStyle 32Style baseStyle = null; 35baseStyle = Application.Current.FindResource(typeof(CheckBox)) as Style; 38Style style = new Style(typeof(CheckBox), baseStyle); 58public static Style DefaultEditingElementStyle 64Style baseStyle = null; 67baseStyle = Application.Current.FindResource(typeof(CheckBox)) as Style; 70Style style = new Style(typeof(CheckBox), baseStyle); 222private static Style _defaultElementStyle; 223private static Style _defaultEditingElementStyle;
System\Windows\Controls\DataGridColumn.cs (9)
38public Style HeaderStyle 40get { return (Style)GetValue(HeaderStyleProperty); } 48DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged, OnCoerceHeaderStyle)); 113public Style CellStyle 115get { return (Style)GetValue(CellStyleProperty); } 123DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyCellPropertyChanged, OnCoerceCellStyle)); 1323DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged, OnCoerceDragIndicatorStyle)); 1328public Style DragIndicatorStyle 1330get { return (Style)GetValue(DragIndicatorStyleProperty); }
System\Windows\Controls\DataGridComboBoxColumn.cs (12)
217public static Style DefaultElementStyle 223Style style = new Style(typeof(ComboBox)); 240public static Style DefaultEditingElementStyle 253public Style ElementStyle 255get { return (Style)GetValue(ElementStyleProperty); } 269public Style EditingElementStyle 271get { return (Style)GetValue(EditingElementStyleProperty); } 286Style style = PickStyle(isEditing, defaultToElementStyle); 298Style style = PickStyle(isEditing, defaultToElementStyle); 305private Style PickStyle(bool isEditing, bool defaultToElementStyle) 307Style style = isEditing ? EditingElementStyle : ElementStyle; 620private static Style _defaultElementStyle;
System\Windows\Controls\DataGridHyperlinkColumn.cs (2)
141public static Style DefaultElementStyle 150public static Style DefaultEditingElementStyle
System\Windows\Controls\DataGridRow.cs (3)
290public Style HeaderStyle 292get { return (Style)GetValue(HeaderStyleProperty); } 300DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle));
System\Windows\Controls\DataGridTextColumn.cs (6)
29public static Style DefaultElementStyle 35Style style = new Style(typeof(TextBlock)); 52public static Style DefaultEditingElementStyle 58Style style = new Style(typeof(TextBox)); 401private static Style _defaultElementStyle; 402private static Style _defaultEditingElementStyle;
System\Windows\Controls\DatePicker.cs (3)
125public Style CalendarStyle 127get { return (Style)GetValue(CalendarStyleProperty); } 137typeof(Style),
System\Windows\Controls\GridSplitter.cs (5)
221typeof(Style), 223new FrameworkPropertyMetadata((Style)null)); 228public Style PreviewStyle 230get { return (Style)GetValue(PreviewStyleProperty); } 387public PreviewAdorner(GridSplitter gridSplitter, Style previewStyle)
System\Windows\Controls\GridView.cs (3)
248typeof(Style), 255public Style ColumnHeaderContainerStyle 257get { return (Style)GetValue(ColumnHeaderContainerStyleProperty); }
System\Windows\Controls\GridViewColumn.cs (3)
134typeof(Style), 143public Style HeaderContainerStyle 145get { return (Style)GetValue(HeaderContainerStyleProperty); }
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
59public Style ColumnHeaderContainerStyle 61get { return (Style)GetValue(ColumnHeaderContainerStyleProperty); } 1470Style style = ColumnHeaderContainerStyle;
System\Windows\Controls\GroupItem.cs (1)
173Style style = groupStyle.ContainerStyle;
System\Windows\Controls\GroupStyle.cs (2)
114public Style ContainerStyle 223private Style _containerStyle;
System\Windows\Controls\Image.cs (3)
379Style style = CreateDefaultStyles(); 407private static Style CreateDefaultStyles() 409Style style = new Style(typeof(Image), null);
System\Windows\Controls\InkCanvas.cs (1)
94Style defaultStyle = new Style(ownerType);
System\Windows\Controls\ItemsControl.cs (10)
672typeof(Style), 675(Style) null, 683public Style ItemContainerStyle 685get { return (Style) GetValue(ItemContainerStyleProperty); } 696((ItemsControl) d).OnItemContainerStyleChanged((Style) e.OldValue, (Style) e.NewValue); 704protected virtual void OnItemContainerStyleChanged(Style oldItemContainerStyle, Style newItemContainerStyle) 1721Style itemContainerStyle = parentItemsControl.ItemContainerStyle; 3461Style style = ItemContainerStyle;
System\Windows\Controls\MediaElement.cs (3)
72Style style = CreateDefaultStyles(); 99private static Style CreateDefaultStyles() 101Style style = new Style(typeof(MediaElement), null);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
762Style style = null; 794Style style = null;
System\Windows\Controls\SoundPlayerAction.cs (1)
114Style targetStyle,
System\Windows\Controls\StyleSelector.cs (2)
27/// Override this method to return an app specific <seealso cref="Style"/>. 32public virtual Style SelectStyle(object item, DependencyObject container)
System\Windows\FrameworkContentElement.cs (15)
56Style defaultValue = (Style)metadata.DefaultValue; 113(Style) null, // default value 121public Style Style 143StyleHelper.UpdateStyleCache(null, fce, (Style) e.OldValue, (Style) e.NewValue, ref fce._styleCache); 147protected internal virtual void OnStyleChanged(Style oldStyle, Style newStyle) 200internal Style ThemeStyle 217StyleHelper.UpdateThemeStyleCache(null, fce, (Style) oldValue, (Style) newValue, ref fce._themeStyleCache); 882public Style FocusVisualStyle 884get { return (Style) GetValue(FocusVisualStyleProperty); } 2153private Style _styleCache; 2156private Style _themeStyleCache;
System\Windows\FrameworkElement.cs (23)
109Style defaultValue = (Style) metadata.DefaultValue; 135typeof(Style), 138(Style) null, // default value 145public Style Style 167StyleHelper.UpdateStyleCache(fe, null, (Style) e.OldValue, (Style) e.NewValue, ref fe._styleCache); 251internal Style ThemeStyle 267StyleHelper.UpdateThemeStyleCache(fe, null, (Style) oldValue, (Style) newValue, ref fe._themeStyleCache); 301protected internal virtual void OnStyleChanged(Style oldStyle, Style newStyle) 1157Style style; 1159Style themeStyle; 2976Style selfStyle = null; 3804private static Style _defaultFocusVisualStyle = null; 3806internal static Style DefaultFocusVisualStyle 3812Style defaultFocusVisualStyle = new Style(); 3827typeof(Style), 3835public Style FocusVisualStyle 3837get { return (Style) GetValue(FocusVisualStyleProperty); } 6365private Style _themeStyleCache; 6372private Style _styleCache;
System\Windows\Generated\FrameworkContentElement.cs (2)
457Style selfStyle = null; 458Style selfThemeStyle = null;
System\Windows\Generated\FrameworkElement.cs (2)
472Style selfStyle = null; 473Style selfThemeStyle = null;
System\Windows\HierarchicalDataTemplate.cs (2)
108public Style ItemContainerStyle 238private Style _itemContainerStyle;
System\Windows\Input\KeyboardNavigation.cs (7)
492public FocusVisualAdorner(UIElement adornedElement, Style focusVisualStyle) : base(adornedElement) 508public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle) 749private Style _focusVisualStyle; 853Style fvs = fe.FocusVisualStyle; 859fvs = FrameworkElement.FindResourceInternal(fe, fce: null, SystemParameters.FocusVisualStyleKey) as Style; 880Style fvs = fce.FocusVisualStyle; 886fvs = FrameworkElement.FindResourceInternal(fe: null, fce, SystemParameters.FocusVisualStyleKey) as Style;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
713case 620: t = () => typeof(Style); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (20)
6148Type type = typeof(System.Windows.Style); 6150this.GetXamlType(typeof(System.Windows.Style)), // DeclaringType 6157GetDelegate = delegate (object target) { return ((System.Windows.Style)target).Setters; }, 6937Type type = typeof(System.Windows.Style); 6939this.GetXamlType(typeof(System.Windows.Style)), // DeclaringType 6949SetDelegate = delegate (object target, object value) { ((System.Windows.Style)target).TargetType = (System.Type)value; }, 6950GetDelegate = delegate (object target) { return ((System.Windows.Style)target).TargetType; } 6959Type type = typeof(System.Windows.Style); 6961this.GetXamlType(typeof(System.Windows.Style)), // DeclaringType 6968GetDelegate = delegate (object target) { return ((System.Windows.Style)target).Triggers; }, 7179Type type = typeof(System.Windows.Style); 7181this.GetXamlType(typeof(System.Windows.Style)), // DeclaringType 7183typeof(System.Windows.Style), // type 7189SetDelegate = delegate (object target, object value) { ((System.Windows.Style)target).BasedOn = (System.Windows.Style)value; }, 7190GetDelegate = delegate (object target) { return ((System.Windows.Style)target).BasedOn; } 7379Type type = typeof(System.Windows.Style); 7381this.GetXamlType(typeof(System.Windows.Style)), // DeclaringType 7389SetDelegate = delegate (object target, object value) { ((System.Windows.Style)target).Resources = (System.Windows.ResourceDictionary)value; }, 7390GetDelegate = delegate (object target) { return ((System.Windows.Style)target).Resources; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10726typeof(System.Windows.Style),
System\Windows\Markup\BamlRecordReader.cs (2)
4097Style style = (Style)stackData.ObjectData;
System\Windows\Markup\DependencyPropertyConverter.cs (1)
183XamlType styleXType = schemaContext.GetXamlType(typeof(Style));
System\Windows\Markup\KnownTypes.cs (2)
2521case KnownElements.Style: return (o as System.Windows.Style).Setters; 6167case KnownElements.Style: t = typeof(System.Windows.Style); break;
System\Windows\Markup\RoutedEventConverter.cs (1)
86XamlType styleXType = schemaContext.GetXamlType(typeof(Style));
System\Windows\Markup\WpfXamlLoader.cs (1)
397typeof(Style).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType))
System\Windows\Markup\XamlStyleSerializer.cs (1)
81Type styleTargetType = Style.DefaultTargetType;
System\Windows\Media\Animation\BeginStoryboard.cs (1)
174internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
System\Windows\Media\Animation\ControllableStoryboardAction.cs (1)
57internal sealed override void Invoke( FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer )
System\Windows\Media\Animation\Storyboard.cs (1)
392if( nameScope is Style )
System\Windows\StaticResourceExtension.cs (2)
213XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 255if (ambientValue.Value is Style style)
System\Windows\Style.cs (7)
52public Style(Type targetType, Style basedOn) 181public Style BasedOn 575Style latestBasedOn = this; 604private void ProcessSetters(Style style) 686private void ProcessSelfStyles(Style style) 712private void ProcessVisualTriggers(Style style) 936private Style _basedOn;
System\Windows\StyleHelper.cs (55)
50Style oldStyle, 51Style newStyle, 52ref Style styleCache) 89Style oldThemeStyle, 90Style newThemeStyle, 91ref Style themeStyleCache) 121Style style = null; 155internal static Style GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce) 162Style oldThemeStyle = null; 163Style newThemeStyle = null; 218if( styleLookup is Style ) 222newThemeStyle = (Style)styleLookup; 246newThemeStyle = styleMetadata.DefaultValue as Style; 297Style style = fe.Style; 298Style themeStyle = fe.ThemeStyle; 1330Style oldStyle, 1331Style newStyle, 1365Style newStyle, 1428Style oldStyle, 1665Style oldStyle, 2396Style selfStyle; 2397Style selfThemeStyle; 2494Style ownerStyle, 3016Style style, 3017Style themeStyle) 3031Style style) 3141Style oldStyle, 3142Style newStyle) 3222Style oldThemeStyle, 3223Style newThemeStyle, 3224Style style) 3439Style oldStyle, 3440Style newStyle) 3536private static List<ResourceDictionary> GetResourceDictionariesFromStyle(Style style) 3589Style oldStyle, Style newStyle) 3863Style style = fo.Style; 3950Style themeStyle = fo.ThemeStyle; 4290Style ownerStyle, 4364Style ownerStyle, 4425Style style, FrameworkTemplate frameworkTemplate, 4463Style style, FrameworkTemplate frameworkTemplate ) 4498FrameworkContentElement fce, Style style, UncommonField<HybridDictionary[]> dataField ) 4553Style style, FrameworkTemplate ft, UncommonField<HybridDictionary[]> dataField ) 4641Style style, FrameworkTemplate frameworkTemplate) 4671Style style, FrameworkTemplate frameworkTemplate ) 4747Style style, FrameworkTemplate frameworkTemplate) 4815Style style, FrameworkTemplate frameworkTemplate) 4833int sourceChildIndex, Style style, FrameworkTemplate frameworkTemplate, 4878Style style, FrameworkTemplate frameworkTemplate, 4900int sourceChildIndex, Style style, FrameworkTemplate frameworkTemplate, 4973Style style, FrameworkTemplate frameworkTemplate, 5130Style style = (fe != null) ? fe.Style : fce.Style; 5210Style style = (fe != null) ? fe.ThemeStyle : fce.ThemeStyle; 5234Style style,
System\Windows\TemplateContent.cs (4)
123typeof(Style).IsAssignableFrom(CurrentFrame.Type.UnderlyingType))); 148typeof(Style).IsAssignableFrom(CurrentFrame.Type.UnderlyingType))); 918else if (typeof(Style).IsAssignableFrom(xamlReader.Type.UnderlyingType)) 1169typeof(Style).IsAssignableFrom(type)
System\Windows\TreeWalkHelper.cs (6)
233Style selfStyle, 234Style selfThemeStyle, 308Style selfStyle, 309Style selfThemeStyle, 815Style themeStyle = fe.ThemeStyle; 882Style themeStyle = fce.ThemeStyle;
System\Windows\TriggerAction.cs (1)
43Style targetStyle,
PresentationFramework.Tests (10)
System\Windows\ResourceDictionaryTests.cs (10)
47var style = _dictionary["PrimaryButtonStyle"] as Style; 58var style = _dictionary["PrimaryButtonStyle"] as Style; 87var baseStyle = _dictionary["BaseTextBlockStyle"] as Style; 88var derivedStyle = _dictionary["DerivedTextBlockStyle"] as Style; 98var style = _dictionary["MultiTriggerStyle"] as Style;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1035_findToolBar.Style = _findToolBar.FindResource(toolBarStyleKey) as Style;
System.Windows.Controls.Ribbon (33)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
97Style keyTipStyle = KeyTipService.GetKeyTipStyle(keyTipElement);
Microsoft\Windows\Controls\KeyTipService.cs (4)
118public static Style GetKeyTipStyle(DependencyObject element) 121return (Style)element.GetValue(KeyTipStyleProperty); 124public static void SetKeyTipStyle(DependencyObject element, Style value) 132DependencyProperty.RegisterAttached("KeyTipStyle", typeof(Style), typeof(KeyTipService), new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (6)
448public Style ContextualTabGroupStyle 450get { return (Style)GetValue(ContextualTabGroupStyleProperty); } 455DependencyProperty.Register("ContextualTabGroupStyle", typeof(Style), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyContextualTabGroupPropertyChanged))); 612public Style TabHeaderStyle 614get { return (Style)GetValue(TabHeaderStyleProperty); } 620DependencyProperty.Register("TabHeaderStyle", typeof(Style), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyTabHeaderPropertyChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (19)
168DependencyProperty.Register("CurrentFilterStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, null, OnCoerceCurrentFilterStyle)); 170private Style CurrentFilterStyle 172get { return (Style)GetValue(CurrentFilterStyleProperty); } 1838public Style FilterItemContainerStyle 1840get { return (Style)GetValue(FilterItemContainerStyleProperty); } 1848DependencyProperty.Register("FilterItemContainerStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemContainerStyleChanged)); 1853public Style AllFilterItemContainerStyle 1855get { return (Style)GetValue(AllFilterItemContainerStyleProperty); } 1863DependencyProperty.Register("AllFilterItemContainerStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemContainerStyleChanged)); 1929public override Style SelectStyle(object item, DependencyObject container) 1953public Style FilterMenuButtonStyle 1955get { return (Style)GetValue(FilterMenuButtonStyleProperty); } 1963DependencyProperty.Register("FilterMenuButtonStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 2479public Style CategoryStyle 2481get { return (Style)GetValue(CategoryStyleProperty); } 2489DependencyProperty.Register("CategoryStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCategoryStyleChanged))); 2520public Style GalleryItemStyle 2522get { return (Style)GetValue(GalleryItemStyleProperty); } 2527DependencyProperty.Register("GalleryItemStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyGalleryItemTemplateOrStylePropertyChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (3)
139public Style HeaderStyle 141get { return (Style)GetValue(HeaderStyleProperty); } 147DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(RibbonTab), new FrameworkPropertyMetadata(null, OnNotifyHeaderPropertyChanged, CoerceHeaderStyle));