La propiedad 'X' no se puede cambiar dinámicamente si la página tiene un tema de hoja de estilos. Para controles dinámicos, establezca la propiedad antes de llamar a ApplyStyleSheetSkin().
Click to search this error in Google
English version
The 'X' property cannot be changed dynamically if Page has a stylesheet theme. For dynamic controls, set the property before calling ApplyStyleSheetSkin().