18 types derived from Decorator
PresentationFramework (5)
System\Windows\Controls\Border.cs (1)
21public class Border : Decorator
System\Windows\Controls\InkPresenter.cs (1)
21public class InkPresenter : Decorator
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
22public class BulletDecorator : Decorator
System\Windows\Controls\ViewBox.cs (1)
50public class Viewbox : Decorator
System\Windows\Documents\AdornerDecorator.cs (1)
57public class AdornerDecorator : Decorator
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
20public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
20public sealed class ListBoxChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
14public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
20public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
20public sealed class ListBoxChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
14public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
14public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
120public sealed class ClassicBorderDecorator : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
14public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
142public sealed class ButtonChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
14public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
132public sealed class ButtonChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
14public sealed class SystemDropShadowChrome : Decorator
4 instantiations of Decorator
PresentationFramework (4)
System\Windows\Controls\GridSplitter.cs (1)
400_decorator = new Decorator
System\Windows\Controls\Primitives\PopupRoot.cs (1)
38_transformDecorator = new Decorator();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3533DefaultConstructor = delegate () { return new System.Windows.Controls.Decorator(); },
System\Windows\Markup\KnownTypes.cs (1)
1199case KnownElements.Decorator: o = new System.Windows.Controls.Decorator(); break;
34 references to Decorator
PresentationFramework (34)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
40internal static void ToggleFindToolBar(Decorator findToolBarHost, EventHandler handlerFindClicked, bool enable)
System\Windows\Annotations\AnnotationHelper.cs (2)
658Decorator host = null; 661host = StyleHelper.FindNameInTemplateContent(fdr, "PART_ContentHost", fdr.TemplateInternal) as Decorator;
System\Windows\Controls\Decorator.cs (1)
100/// The single child of a <see cref="System.Windows.Controls.Decorator" />
System\Windows\Controls\FlowDocumentReader.cs (6)
28[TemplatePart(Name = "PART_ContentHost", Type = typeof(Decorator))] 29[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 94_contentHost = GetTemplateChild(_contentHostTemplateName) as Decorator; 111_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1881private Decorator _contentHost; // Host for content viewer 1882private Decorator _findToolBarHost; // Host for FindToolBar
System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
35[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 36[TemplatePart(Name = "PART_ToolBarHost", Type = typeof(Decorator))] 103_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 106_toolBarHost = GetTemplateChild(_toolBarHostTemplateName) as Decorator; 1778private Decorator _findToolBarHost; // Host for FindToolBar 1779private Decorator _toolBarHost; // Host for ToolBar
System\Windows\Controls\GridSplitter.cs (1)
470private Decorator _decorator;
System\Windows\Controls\PasswordBox.cs (3)
948else if (_passwordBoxContentHost is Decorator decorator) 1000else if (_passwordBoxContentHost is Decorator) 1002((Decorator)_passwordBoxContentHost).Child = null;
System\Windows\Controls\Primitives\PopupRoot.cs (1)
379private Decorator _transformDecorator; // The decorator used to apply animations
System\Windows\Controls\Primitives\TextBoxBase.cs (3)
1921else if (_textBoxContentHost is Decorator decorator) 1966else if (_textBoxContentHost is Decorator) 1968((Decorator)_textBoxContentHost).Child = null;
System\Windows\Controls\SinglePageViewer.cs (3)
33[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 99_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1496private Decorator _findToolBarHost; // Host for FindToolbar
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
227case 133: t = () => typeof(Decorator); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4671Type type = typeof(System.Windows.Controls.Decorator); 4673this.GetXamlType(typeof(System.Windows.Controls.Decorator)), // DeclaringType 4680SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; }, 4681GetDelegate = delegate (object target) { return ((System.Windows.Controls.Decorator)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3530typeof(System.Windows.Controls.Decorator),
System\Windows\Markup\KnownTypes.cs (1)
5681case KnownElements.Decorator: t = typeof(System.Windows.Controls.Decorator); break;