Table of Contents

Class ContentControl

Namespace
Myra.Graphics2D.UI
Assembly
Myra.dll

Base class for widgets that contain a single child widget.

public abstract class ContentControl : Widget, IItemWithId, INotifyAttachedPropertyChanged, IContent
Inheritance
ContentControl
Implements
Derived
Inherited Members

Properties

Content

Gets or sets the content widget.

public abstract Widget Content { get; set; }

Property Value

Widget

Methods

CopyFrom(Widget)

Copies properties from another content control to this one, including the content widget.

protected override void CopyFrom(Widget w)

Parameters

w Widget

The source content control to copy from.