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)
398_decorator = new Decorator();
System\Windows\Controls\Primitives\PopupRoot.cs (1)
38_transformDecorator = new Decorator();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3322bamlType.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)
40internal static void ToggleFindToolBar(Decorator findToolBarHost, EventHandler handlerFindClicked, bool enable)
System\Windows\Annotations\AnnotationHelper.cs (2)
660Decorator host = null; 663host = 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; 1916private Decorator _contentHost; // Host for content viewer 1917private 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; 1814private Decorator _findToolBarHost; // Host for FindToolBar 1815private Decorator _toolBarHost; // Host for ToolBar
System\Windows\Controls\GridSplitter.cs (1)
466private Decorator _decorator;
System\Windows\Controls\PasswordBox.cs (5)
959else if (_passwordBoxContentHost is Decorator) 961Decorator decorator = (Decorator)_passwordBoxContentHost; 1012else if (_passwordBoxContentHost is Decorator) 1014((Decorator)_passwordBoxContentHost).Child = null;
System\Windows\Controls\Primitives\PopupRoot.cs (1)
367private Decorator _transformDecorator; // The decorator used to apply animations
System\Windows\Controls\Primitives\TextBoxBase.cs (5)
1990else if (_textBoxContentHost is Decorator) 1992Decorator decorator = (Decorator)_textBoxContentHost; 2036else if (_textBoxContentHost is Decorator) 2038((Decorator)_textBoxContentHost).Child = null;
System\Windows\Controls\SinglePageViewer.cs (3)
33[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(Decorator))] 99_findToolBarHost = GetTemplateChild(_findToolBarHostTemplateName) as Decorator; 1497private 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)
4419Type type = typeof(System.Windows.Controls.Decorator); 4421this.GetXamlType(typeof(System.Windows.Controls.Decorator)), // DeclaringType 4427bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; }; 4428bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Decorator)target).Child; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3320typeof(System.Windows.Controls.Decorator),
System\Windows\Markup\KnownTypes.cs (1)
5687case KnownElements.Decorator: t = typeof(System.Windows.Controls.Decorator); break;