Ejemplo n.º 1
0
        public TemplatedControl()
        {
            TemplateAttribute templateAttribute = AttributeSearcher.GetAttribute <TemplateAttribute>(GetType());

            if (templateAttribute != null)
            {
                LoadTemplate(templateAttribute.FileName);
            }
        }