118 references to XhtmlConstants
System.Web.Mobile (118)
UI\MobileControls\Adapters\XhtmlAdapters\Constants.cs (3)
45internal static readonly StyleFilter All= XhtmlConstants.Format | XhtmlConstants.Layout; 49internal static XhtmlStyleClass DefaultStyleClass = new XhtmlStyleClass(DefaultStyle, XhtmlConstants.All);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCommandAdapter.cs (2)
79ConditionalRenderCustomAttribute(writer, XhtmlConstants.AccessKeyCustomAttribute); 94ConditionalRenderCustomAttribute(writer, XhtmlConstants.AccessKeyCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicControlAdapter.cs (32)
100if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 118if ((String)Device[XhtmlConstants.BreaksOnInlineElements] == "true") { 166String attributeValue = ((IAttributeAccessor)Control).GetAttribute(XhtmlConstants.AccessKeyCustomAttribute); 206if ((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") { 235String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false" ? "&" : "&"; 314if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 333if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 345if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 357if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 369if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 381if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 402return(String) Page.ActiveForm.CustomAttributes[XhtmlConstants.StyleSheetLocationCustomAttribute]; 409return(String) ConfigurationManager.AppSettings[XhtmlConstants.CssStateLocationAppSettingKey]; 421if ((String)Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 425String browserCap = Device[XhtmlConstants.InternalStyleConfigSetting]; 448if (String.Compare(StyleSheetStorageApplicationSetting, XhtmlConstants.CacheStyleSheetValue, StringComparison.OrdinalIgnoreCase) == 0) { 467if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 470String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 486if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 489String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 508String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 521if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 524String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 548if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true") { 551String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 612String classAttribute = (String) Control.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 613if (CssLocation == StyleSheetLocation.PhysicalFile && (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 626else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 639if (CssLocation == StyleSheetLocation.PhysicalFile && (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 643else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true") { 653if ((String)Device[XhtmlConstants.BreaksOnBlockElements] != "false") { 660if ((String)Device[XhtmlConstants.BreaksOnInlineElements] == "true") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (9)
70String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false" ? "&" : "&"; 72if((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") { 81bool needDivStyle = (String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 121writer.WriteHiddenField(PageAdapter.EventSourceKey, XhtmlConstants.PostedFromOtherFile); 206String cssClass = ((IAttributeAccessor) ctl).GetAttribute(XhtmlConstants.CssClassCustomAttribute); 304XhtmlConstants.PagerPreviousAccessKeyCustomAttribute); 316XhtmlConstants.PagerNextAccessKeyCustomAttribute); 328String cssClass = GetCustomAttributeValue(XhtmlConstants.CssPagerClassCustomAttribute); 365ConditionalRenderCustomAttribute(writer, accessKeyCustomAttribute, XhtmlConstants.AccessKeyCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicImageAdapter.cs (5)
39if ((filter & XhtmlConstants.Layout) != 0) { 44String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 45String accessKey = GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute); 46String title = GetCustomAttributeValue(XhtmlConstants.TitleCustomAttribute); 68if ((filter & XhtmlConstants.Layout) != 0) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicLinkAdapter.cs (2)
36String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 37String accessKey = GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicListAdapter.cs (2)
114String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 115String cssClass = GetCustomAttributeValue(item, XhtmlConstants.CssClassCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (20)
260String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 261String subCommandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 294String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 295String labelClass = GetCustomAttributeValue(XhtmlConstants.CssLabelClassCustomAttribute); 330String commandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 333if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 342if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 353if ((String) Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 446String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 447String labelClass = GetCustomAttributeValue(XhtmlConstants.CssLabelClassCustomAttribute); 487String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 488String itemClass = GetCustomAttributeValue(item, XhtmlConstants.CssClassCustomAttribute); 511String commandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 515if ((String)Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 534if ((String)Device[XhtmlConstants.BreaksOnInlineElements] != "true") { 556String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute); 557String cssClass = GetCustomAttributeValue(item, XhtmlConstants.CssClassCustomAttribute); 558String subCommandClass = GetCustomAttributeValue(XhtmlConstants.CssCommandClassCustomAttribute); 594String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 595String labelClass = GetCustomAttributeValue(XhtmlConstants.CssLabelClassCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (17)
232String cssLocation = (String) Page.ActiveForm.CustomAttributes[XhtmlConstants.StyleSheetLocationCustomAttribute]; 247writer.Write(" href=\"" + XhtmlConstants.CssMappedFileName + "?" + XhtmlConstants.CssQueryStringName + "=" + queryStringValue + "\"/>"); 284if (baseCollection != null && baseCollection[EventSourceKey] == XhtmlConstants.PostedFromOtherFile) { 314return(String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] == "true"; 343writer.UseDivsForBreaks = (String)Device[XhtmlConstants.BreaksOnInlineElements] == "true"; 344writer.SuppressNewLine = (String)Device[XhtmlConstants.RequiresNewLineSuppression] == "true"; 345writer.SupportsNoWrapStyle = (String)Device[XhtmlConstants.SupportsNoWrapStyle] != "false"; 423else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 424(String)Device[XhtmlConstants.SupportsBodyClassAttribute] != "false") { 447String cssClass = (String) activeForm.CustomAttributes[XhtmlConstants.CssClassCustomAttribute]; 456else if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 457(String)Device[XhtmlConstants.SupportsBodyClassAttribute] != "false") { 462if ((String)Device[XhtmlConstants.RequiresXhtmlCssSuppression] != "true" && 463(String)Device[XhtmlConstants.SupportsBodyClassAttribute] == "false") { 474String amp = (String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] == "false" ? "&" : "&"; 509if ((String)Device[XhtmlConstants.SupportsUrlAttributeEncoding] != "false") {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (6)
39if ((filter & XhtmlConstants.Layout) != 0) { 65ConditionalRenderCustomAttribute(writer, XhtmlConstants.AccessKeyCustomAttribute); 66String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 92String cssClass = GetCustomAttributeValue(XhtmlConstants.CssClassCustomAttribute); 93String accessKey = GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute); 109if ((filter & XhtmlConstants.Layout) != 0) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (2)
45if ((String) Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 187String accessKey = GetCustomAttributeValue(item, XhtmlConstants.AccessKeyCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (2)
49if ((String) Device[XhtmlConstants.RequiresOnEnterForward] == "true") { 57ConditionalRenderCustomAttribute(writer, XhtmlConstants.AccessKeyCustomAttribute);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicValidationSummaryAdapter.cs (2)
82((IAttributeAccessor)_link).SetAttribute(XhtmlConstants.AccessKeyCustomAttribute, GetCustomAttributeValue(XhtmlConstants.AccessKeyCustomAttribute));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlCssHandler.cs (2)
27String cssQueryStringValue = (String) context.Request.QueryString[XhtmlConstants.CssQueryStringName]; 31if (cssQueryStringValue.StartsWith(XhtmlConstants.SessionKeyPrefix, StringComparison.Ordinal)) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (4)
37private static readonly XhtmlStyleClass _defaultStyleClass = new XhtmlStyleClass(_defaultStyle, XhtmlConstants.All); 267if ((filter & XhtmlConstants.Layout) == 0) { 398filter &= XhtmlConstants.Format; 547_sessionKey = XhtmlConstants.SessionKeyPrefix + styleText.GetHashCode ().ToString (CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (8)
164if ((String) _controlStyle[Style.FontNameKey, true /* inherit */] != (String) XhtmlConstants.DefaultStyle [Style.FontNameKey, false /* do not inherit */]) { 197StyleFilter defaultFilter = XhtmlConstants.DefaultStyleClass.GetFilterInternal(style); 244SetFilter (Filter & XhtmlConstants.Format); 255returnValue |= XhtmlConstants.Layout; 257returnValue &= XhtmlConstants.DefaultStyleClass.GetFilter(style); 269SetFilter (Filter & XhtmlConstants.Layout); 280returnValue |= XhtmlConstants.Format; 282returnValue &= XhtmlConstants.DefaultStyleClass.GetFilter(style);