18 types derived from Decorator
PresentationFramework (5)
System\Windows\Controls\Border.cs (1)
20public class Border : Decorator
System\Windows\Controls\InkPresenter.cs (1)
20public class InkPresenter : Decorator
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
21public class BulletDecorator : Decorator
System\Windows\Controls\ViewBox.cs (1)
49public class Viewbox : Decorator
System\Windows\Documents\AdornerDecorator.cs (1)
56public class AdornerDecorator : Decorator
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
19public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
19public sealed class ListBoxChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
13public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
19public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
19public sealed class ListBoxChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
13public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
13public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
119public sealed class ClassicBorderDecorator : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
13public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
141public sealed class ButtonChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
13public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
131public sealed class ButtonChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
13public sealed class SystemDropShadowChrome : Decorator
4 instantiations of Decorator
PresentationFramework (4)
System\Windows\Controls\GridSplitter.cs (1)
399_decorator = new Decorator
System\Windows\Controls\Primitives\PopupRoot.cs (1)
37_transformDecorator = new Decorator();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3532DefaultConstructor = delegate () { return new System.Windows.Controls.Decorator(); },
System\Windows\Markup\KnownTypes.cs (1)
1198case KnownElements.Decorator: o = new System.Windows.Controls.Decorator(); break;
34 references to Decorator
PresentationFramework (34)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
39internal static void ToggleFindToolBar(Decorator findToolBarHost, EventHandler handlerFindClicked, bool enable)
System\Windows\Annotations\AnnotationHelper.cs (2)
657Decorator host = null; 660host = StyleHelper.FindNameInTemplateContent(fdr, "PART_ContentHost", fdr.TemplateInternal) as Decorator;
System\Windows\Controls\Decorator.cs (1)
99/// The single child of a <see cref="System.Windows.Controls.Decorator" />
System\Windows\Controls\FlowDocumentReader.cs (6)
27[TemplatePart(Name = "PART_ContentHost", Type = typeof(Decorator))] 28[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 93_contentHost = GetTemplateChild(_contentHostTemplateName) as Decorator; 110_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1880private Decorator _contentHost; // Host for content viewer 1881private Decorator _findToolBarHost; // Host for FindToolBar
System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
34[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 35[TemplatePart(Name = "PART_ToolBarHost", Type = typeof(Decorator))] 102_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 105_toolBarHost = GetTemplateChild(_toolBarHostTemplateName) as Decorator; 1777private Decorator _findToolBarHost; // Host for FindToolBar 1778private Decorator _toolBarHost; // Host for ToolBar
System\Windows\Controls\GridSplitter.cs (1)
469private Decorator _decorator;
System\Windows\Controls\PasswordBox.cs (3)
947else if (_passwordBoxContentHost is Decorator decorator) 999else if (_passwordBoxContentHost is Decorator) 1001((Decorator)_passwordBoxContentHost).Child = null;
System\Windows\Controls\Primitives\PopupRoot.cs (1)
378private Decorator _transformDecorator; // The decorator used to apply animations
System\Windows\Controls\Primitives\TextBoxBase.cs (3)
1920else if (_textBoxContentHost is Decorator decorator) 1965else if (_textBoxContentHost is Decorator) 1967((Decorator)_textBoxContentHost).Child = null;
System\Windows\Controls\SinglePageViewer.cs (3)
32[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 98_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1495private Decorator _findToolBarHost; // Host for FindToolbar
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
226case 133: t = () => typeof(Decorator); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4670Type type = typeof(System.Windows.Controls.Decorator); 4672this.GetXamlType(typeof(System.Windows.Controls.Decorator)), // DeclaringType 4679SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; }, 4680GetDelegate = delegate (object target) { return ((System.Windows.Controls.Decorator)target).Child; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3529typeof(System.Windows.Controls.Decorator),
System\Windows\Markup\KnownTypes.cs (1)
5680case KnownElements.Decorator: t = typeof(System.Windows.Controls.Decorator); break;