Class ContentPresenter
- Namespace
- Forma
- Assembly
- Forma.dll
Realizes a content object as a control or data template and aligns the resulting visual.
public sealed class ContentPresenter : Control, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
- Inheritance
-
ContentPresenter
- Implements
- Inherited Members
Constructors
ContentPresenter()
public ContentPresenter()
Properties
Content
public object Content { get; set; }
Property Value
ContentTemplate
public DataTemplate ContentTemplate { get; set; }
Property Value
HorizontalContentAlignment
public HorizontalAlignment HorizontalContentAlignment { get; set; }
Property Value
PresentedControl
public Control PresentedControl { get; }
Property Value
VerticalContentAlignment
public VerticalAlignment VerticalContentAlignment { get; set; }
Property Value
Methods
ArrangeChildren()
protected override void ArrangeChildren()
Dispose()
public void Dispose()
GetMinimumSize()
public override Vector2 GetMinimumSize()
Returns
- Vector2