/// <include file='doc\XhtmlBasicControlAdapter.uex' path='docs/doc[@for="XhtmlControlAdapter.ConditionalEnterLayout"]/*' /> protected virtual void ConditionalEnterLayout(XhtmlMobileTextWriter writer, Style style) { if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { return; } if (CssLocation == StyleSheetLocation.PhysicalFile) { // Do nothing. Styles should be handled by CssClass custom attribute. return; } writer.EnterLayout(style); }