콘텐츠로 이동

ContentPresenter class

이 콘텐츠는 아직 번역되지 않았습니다.

The visual slot inside a control template that displays a logical slot of the templated parent. Without a presenter the projected slot stays out of the visual tree.

Guide: C# Markup guide

public sealed class ContentPresenter : FrameworkElement, IVisualTreeHost
name description
ContentPresenter() The default constructor.
ContentSource { get; set; } Gets or sets which slot of the templated parent to display; unset projects the parent’s own display slot.