/// <include file='doc\XhtmlBasicControlAdapter.uex' path='docs/doc[@for="XhtmlControlAdapter.ConditionalEnterFormat"]/*' /> protected virtual void ConditionalEnterFormat(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.EnterFormat(style); }
/// <include file='doc\XhtmlBasicControlAdapter.uex' path='docs/doc[@for="XhtmlControlAdapter.ConditionalEnterFormat"]/*' /> protected virtual void ConditionalEnterFormat(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.EnterFormat(style); }