39 references to Device
System.Web.Mobile (39)
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (6)
90
if(
Device
["supportsCharacterEntityEncoding"] != "false") {
1107
new HtmlTextWriter(new StringWriter(CultureInfo.InvariantCulture)), tempWriter.
Device
);
1235
(_writer.
Device
.Type == _pocketPC) &&
1236
(_writer.
Device
.MinorVersion == 0) &&
1237
(_writer.
Device
.MajorVersion == 4) &&
1290
((HtmlMobileTextWriter)_writer).
Device
.Type == _pocketPC) ? "+2" : "+1";
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (16)
143
if (
Device
.RequiresUniqueFilePathSuffix && RequiresLoopDetectionCard)
164
if (
Device
.RequiresUniqueFilePathSuffix)
245
if (CurrentCard.HasInputElements && !
Device
.CanRenderAfterInputOrSelectElement)
313
Device
.RendersBreakBeforeWmlSelectAndInput &&
348
if (CurrentCard.HasInputElements && !
Device
.CanRenderAfterInputOrSelectElement)
496
(!
Device
.CanRenderInputAndSelectElementsTogether ||
497
!
Device
.CanRenderAfterInputOrSelectElement))
515
if (!
Device
.CanRenderAfterInputOrSelectElement && _currentCardIndex < _cards.Count - 1)
521
!
Device
.CanRenderInputAndSelectElementsTogether)
537
if (CurrentCard.HasInputElements && !
Device
.CanRenderAfterInputOrSelectElement)
601
if (CurrentCard.HasInputElements && !
Device
.CanRenderAfterInputOrSelectElement)
825
(!
Device
.CanRenderInputAndSelectElementsTogether ||
826
!
Device
.CanRenderAfterInputOrSelectElement))
857
if (!
Device
.CanRenderAfterInputOrSelectElement && _currentCardIndex < _cards.Count - 1)
863
!
Device
.CanRenderInputAndSelectElementsTogether)
1086
_currentCardAnchorCount <=
Device
.DefaultSubmitButtonLimit)
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (15)
84
_numberOfSoftkeys =
Device
.NumberOfSoftkeys;
92
if (_numberOfSoftkeys == 2 && !
Device
.HasBackButton)
352
if (
Device
.RendersBreakBeforeWmlSelectAndInput)
389
if (breakAfter && !
Device
.RendersBreaksAfterWmlInput)
481
if (
Device
.RendersBreakBeforeWmlSelectAndInput)
522
if (breakAfter && !
Device
.RendersBreaksAfterWmlInput)
609
label.Length <=
Device
.MaximumSoftkeyLabelLength;
696
if(
Device
.RequiresUniqueFilePathSuffix)
725
if(Page.Adapter.PersistCookielessData &&
Device
.CanRenderOneventAndPrevElementsTogether)
746
if (
Device
.RequiresSpecialViewStateEncoding)
901
if (
Device
.RequiresUniqueFilePathSuffix)
956
Device
.CanRenderOneventAndPrevElementsTogether))
1003
bool b = _postBackCardsEfficient &&
Device
.CanRenderPostBackCards;
1444
if (
Device
.RequiresUrlEncodedPostfieldValues)
1643
String RequiresNoSoftkeyLabelsString =
Device
["requiresNoSoftkeyLabels"];
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
595
if((string)
Device
["usePOverDiv"] == "true")
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (1)
105
if (!
Device
.SupportsCss)