18 types derived from Decorator
PresentationFramework (5)
System\Windows\Controls\Border.cs (1)
25public class Border : Decorator
System\Windows\Controls\InkPresenter.cs (1)
28public class InkPresenter : Decorator
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
28public class BulletDecorator : Decorator
System\Windows\Controls\ViewBox.cs (1)
56public class Viewbox : Decorator
System\Windows\Documents\AdornerDecorator.cs (1)
61public class AdornerDecorator : Decorator
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
29public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
26public sealed class ListBoxChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
18public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
29public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
26public sealed class ListBoxChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
18public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
18public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
123public sealed class ClassicBorderDecorator : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
18public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
145public sealed class ButtonChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
18public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
135public sealed class ButtonChrome : Decorator
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
18public sealed class SystemDropShadowChrome : Decorator
4 instantiations of Decorator
PresentationFramework (4)
System\Windows\Controls\GridSplitter.cs (1)
404_decorator = new Decorator();
System\Windows\Controls\Primitives\PopupRoot.cs (1)
47_transformDecorator = new Decorator();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3324bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Decorator(); };
System\Windows\Markup\KnownTypes.cs (1)
1205case KnownElements.Decorator: o = new System.Windows.Controls.Decorator(); break;
38 references to Decorator
PresentationFramework (38)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
42internal static void ToggleFindToolBar(Decorator findToolBarHost, EventHandler handlerFindClicked, bool enable)
System\Windows\Annotations\AnnotationHelper.cs (2)
672Decorator host = null; 675host = StyleHelper.FindNameInTemplateContent(fdr, "PART_ContentHost", fdr.TemplateInternal) as Decorator;
System\Windows\Controls\Decorator.cs (1)
105/// The single child of a <see cref="System.Windows.Controls.Decorator" />
System\Windows\Controls\FlowDocumentReader.cs (6)
33[TemplatePart(Name = "PART_ContentHost", Type = typeof(Decorator))] 34[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 99_contentHost = GetTemplateChild(_contentHostTemplateName) as Decorator; 116_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1921private Decorator _contentHost; // Host for content viewer 1922private Decorator _findToolBarHost; // Host for FindToolBar
System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
38[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 39[TemplatePart(Name = "PART_ToolBarHost", Type = typeof(Decorator))] 106_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 109_toolBarHost = GetTemplateChild(_toolBarHostTemplateName) as Decorator; 1817private Decorator _findToolBarHost; // Host for FindToolBar 1818private Decorator _toolBarHost; // Host for ToolBar
System\Windows\Controls\GridSplitter.cs (1)
472private Decorator _decorator;
System\Windows\Controls\PasswordBox.cs (5)
967else if (_passwordBoxContentHost is Decorator) 969Decorator decorator = (Decorator)_passwordBoxContentHost; 1020else if (_passwordBoxContentHost is Decorator) 1022((Decorator)_passwordBoxContentHost).Child = null;
System\Windows\Controls\Primitives\PopupRoot.cs (1)
376private Decorator _transformDecorator; // The decorator used to apply animations
System\Windows\Controls\Primitives\TextBoxBase.cs (5)
1999else if (_textBoxContentHost is Decorator) 2001Decorator decorator = (Decorator)_textBoxContentHost; 2045else if (_textBoxContentHost is Decorator) 2047((Decorator)_textBoxContentHost).Child = null;
System\Windows\Controls\SinglePageViewer.cs (3)
36[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 102_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1500private Decorator _findToolBarHost; // Host for FindToolbar
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
229case 133: t = () => typeof(Decorator); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4421Type type = typeof(System.Windows.Controls.Decorator); 4423this.GetXamlType(typeof(System.Windows.Controls.Decorator)), // DeclaringType 4429bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; }; 4430bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Decorator)target).Child; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3322typeof(System.Windows.Controls.Decorator),
System\Windows\Markup\KnownTypes.cs (1)
5687case KnownElements.Decorator: t = typeof(System.Windows.Controls.Decorator); break;