Ejemplo n.º 1
0
        private FrameworkElement CreateVisualTree(FrameworkElement templatedParent)
        {
            if (FrameworkElementFactory == null)
            {
                throw new Granular.Exception("FrameworkTemplate is not initialized");
            }

            return(FrameworkElementFactory.CreateElement(templatedParent));
        }