//------------------------------------------------------------------------------ // // VisualProperties.CreateChildElement // // Creates a small sub-tree to represent a visible element in our application. // //------------------------------------------------------------------------------ Visual CreateChildElement(Instrument instrument) { return(instrument.ComposeElement(_compositor)); }