Exemplo n.º 1
0
        /// <summary>Initializes a new instance of the <see cref="T:System.Windows.Controls.Control" /> class. </summary>
        // Token: 0x06004482 RID: 17538 RVA: 0x00137C6C File Offset: 0x00135E6C
        public Control()
        {
            PropertyMetadata metadata        = Control.TemplateProperty.GetMetadata(base.DependencyObjectType);
            ControlTemplate  controlTemplate = (ControlTemplate)metadata.DefaultValue;

            if (controlTemplate != null)
            {
                Control.OnTemplateChanged(this, new DependencyPropertyChangedEventArgs(Control.TemplateProperty, metadata, null, controlTemplate));
            }
        }