In my last post, I introduced the current set of layout panels provided by Silverlight.FX . All of those panels positioned their children by computing the size and position based on desired and available sizes, i.e. by overriding the measurement and arrangement API, as expected of Panel-based elements. This post is about a control named TemplatePanel . TemplatePanel is similar to other panels, in that it has some children that it is responsible for positioning. However it doesn't take on measurement and arrangement itself. It uses a different strategy - specifically it is associated with a template that defines a scaffolding that contains one or more named ContentPresenter elements, and TemplatePanel matches its children to the individual...(read more) ...
Go to the complete details ...