---
title: "What is System.Windows.Documents.AdornerDecorator control in WPF?"  
description: "What is System.Windows.Documents.AdornerDecorator control in WPF?"  
author: "John Smith"  
published: 2011-05-12  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/894/what-is-system-windows-documents-adornerdecorator-control-in-wpf  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# What is System.Windows.Documents.AdornerDecorator control in WPF?

## System.Windows.Documents.AdornerDecorator—This control is used for styling of the

**control to which the element belongs.**

1. System.Windows.Documents.AdornerLayer—The AdornerLayer control represents

the surface for rendering adorners.

2. System.Windows.Controls.ContentPresenter—This control is used to specify the

location in the visual tree wherein content should be loaded for a specific control. In this

case, the ContentPresenter control will specify where the contents of

\

ElementTrees.Sample will be located.

## Answers

### Answer by John Smith

## System.Windows.Documents.AdornerDecorator—This control is used for styling of the

**control to which the element belongs.**

1. System.Windows.Documents.AdornerLayer—The AdornerLayer control represents

the surface for rendering adorners.

2. System.Windows.Controls.ContentPresenter—This control is used to specify the

location in the visual tree wherein content should be loaded for a specific control. In this

case, the ContentPresenter control will specify where the contents of

\

ElementTrees.Sample will be located.


---

Original Source: https://www.mindstick.com/interview/894/what-is-system-windows-documents-adornerdecorator-control-in-wpf

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
