'Declaration Protected Sub VerifyTemplateState()
protected void VerifyTemplateState()
VerifyTemplateState method makes sure the correct control template is being used based on the value of IsInEditMode property. When in edit mode, the control template specified by the EditTemplate property is used. When not in edit mode, the control template specified by the Template property is used. If EditTemplate is not set then no action will be taken and the template specified by the Template property will be used.
See EditTemplate for more information.
EditTemplateTarget Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2