15 types derived from Decorator
PresentationFramework (5)
src\Framework\System\Windows\Controls\Border.cs (1)
31public class Border : Decorator
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
35public class InkPresenter : Decorator
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
28public class BulletDecorator : Decorator
src\Framework\System\Windows\Controls\ViewBox.cs (1)
63public class Viewbox : Decorator
src\Framework\System\Windows\Documents\AdornerDecorator.cs (1)
66public class AdornerDecorator : Decorator
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
35public sealed class ButtonChrome : Decorator
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
32public sealed class ListBoxChrome : Decorator
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
23public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
128public sealed class ClassicBorderDecorator : Decorator
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
23public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
153public sealed class ButtonChrome : Decorator
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
23public sealed class SystemDropShadowChrome : Decorator
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
143public sealed class ButtonChrome : Decorator
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
23public sealed class SystemDropShadowChrome : Decorator
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\DockedAnnotationDecorator.cs (1)
12internal class DockedAnnotationDecorator : Decorator
4 instantiations of Decorator
PresentationFramework (4)
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
406_decorator = new Decorator();
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
43_transformDecorator = new Decorator();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3320bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Decorator(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1206case KnownElements.Decorator: o = new System.Windows.Controls.Decorator(); break;
38 references to Decorator
PresentationFramework (38)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
52internal static void ToggleFindToolBar(Decorator findToolBarHost, EventHandler handlerFindClicked, bool enable)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
679Decorator host = null; 682host = StyleHelper.FindNameInTemplateContent(fdr, "PART_ContentHost", fdr.TemplateInternal) as Decorator;
src\Framework\System\Windows\Controls\Decorator.cs (1)
110/// The single child of a <see cref="System.Windows.Controls.Decorator" />
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (6)
34[TemplatePart(Name = "PART_ContentHost", Type = typeof(Decorator))] 35[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 100_contentHost = GetTemplateChild(_contentHostTemplateName) as Decorator; 117_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1927private Decorator _contentHost; // Host for content viewer 1928private Decorator _findToolBarHost; // Host for FindToolBar
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (6)
39[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 40[TemplatePart(Name = "PART_ToolBarHost", Type = typeof(Decorator))] 107_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 110_toolBarHost = GetTemplateChild(_toolBarHostTemplateName) as Decorator; 1825private Decorator _findToolBarHost; // Host for FindToolBar 1826private Decorator _toolBarHost; // Host for ToolBar
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
474private Decorator _decorator;
src\Framework\System\Windows\Controls\PasswordBox.cs (5)
983else if (_passwordBoxContentHost is Decorator) 985Decorator decorator = (Decorator)_passwordBoxContentHost; 1036else if (_passwordBoxContentHost is Decorator) 1038((Decorator)_passwordBoxContentHost).Child = null;
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
374private Decorator _transformDecorator; // The decorator used to apply animations
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (5)
2030else if (_textBoxContentHost is Decorator) 2032Decorator decorator = (Decorator)_textBoxContentHost; 2076else if (_textBoxContentHost is Decorator) 2078((Decorator)_textBoxContentHost).Child = null;
src\Framework\System\Windows\Controls\SinglePageViewer.cs (3)
38[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 104_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1507private Decorator _findToolBarHost; // Host for FindToolbar
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
225case 133: t = () => typeof(Decorator); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (4)
4396Type type = typeof(System.Windows.Controls.Decorator); 4398this.GetXamlType(typeof(System.Windows.Controls.Decorator)), // DeclaringType 4404bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; }; 4405bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Decorator)target).Child; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3318typeof(System.Windows.Controls.Decorator),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5677case KnownElements.Decorator: t = typeof(System.Windows.Controls.Decorator); break;