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