Class TemplateInstance

Namespace
Forma
Assembly
Forma.dll

Owns one applied template root and its local namescope.

public sealed class TemplateInstance : IDisposable
Inheritance
TemplateInstance
Implements
Inherited Members

Properties

Host

public Control Host { get; }

Property Value

Control

IsActive

public bool IsActive { get; }

Property Value

bool

IsDisposed

public bool IsDisposed { get; }

Property Value

bool

Item

public object Item { get; }

Property Value

object

NameScope

public NameScope NameScope { get; }

Property Value

NameScope

Owner

public TemplatedControl Owner { get; }

Property Value

TemplatedControl

Root

public Control Root { get; }

Property Value

Control

State

public TemplateInstanceState State { get; }

Property Value

TemplateInstanceState

Template

public FrameworkTemplate Template { get; }

Property Value

FrameworkTemplate

TemplatedParent

public TemplatedControl TemplatedParent { get; }

Property Value

TemplatedControl

Methods

Activate()

public void Activate()

Deactivate()

public void Deactivate()

Dispose()

public void Dispose()

Rebind(object)

public void Rebind(object item)

Parameters

item object