3 writes to _current
System.Web.Mobile (3)
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (3)
965
_current
= new WriterStyle();
985
_current
= new WriterStyle();
1019
_current
= (WriterStyle)_stack.Pop();
40 references to _current
System.Web.Mobile (40)
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (40)
973
return
_current
;
984
_stack.Push(
_current
);
1020
return
_current
;
1076
((
_current
.FontColor != newStyle.FontColor ) && (_writer.RenderFontColor)) ||
1077
((
_current
.FontSize != newStyle.FontSize ) && (_writer.RenderFontSize)) ||
1078
((
_current
.FontName != newStyle.FontName ) && (_writer.RenderFontName))
1086
(((newStyle.Wrapping !=
_current
.Wrapping) && (_writer.RenderDivNoWrap)) ||
1087
((newStyle.Alignment !=
_current
.Alignment) && (_writer.RenderDivAlign)) )
1130
if((
_current
.Italic && !newStyle.Italic ) && (_writer.RenderItalic))
1132
while(
_current
.Italic)
1139
if((
_current
.Bold && !newStyle.Bold ) && (_writer.RenderBold))
1141
while(
_current
.Bold)
1151
(
_current
.FontColor != Color.Empty) &&
1154
while(
_current
.FontColor != Color.Empty)
1164
(
_current
.FontName == null ||
_current
.FontName.Length > 0) &&
1167
while(
_current
.FontName == null ||
_current
.FontName.Length > 0)
1190
(
_current
.Wrapping == Wrapping.NoWrap) &&
1193
while(
_current
.Wrapping != Wrapping.Wrap)
1199
if(( newStyle.Alignment !=
_current
.Alignment ) && ( _writer.RenderDivAlign))
1219
while(
_current
.Bold ||
_current
.Italic || (FontLevel == Count))
1238
(newStyle.Alignment !=
_current
.Alignment) )
1255
_current
.Wrapping = Wrapping.NoWrap;
1260
_current
.Wrapping = Wrapping.Wrap;
1263
if(newStyle.Alignment !=
_current
.Alignment)
1271
_current
.Alignment = newStyle.Alignment;
1284
if(
_current
.FontSize != newStyle.FontSize)
1291
_current
.FontSize = FontSize.Large;
1297
_current
.FontSize = FontSize.Small;
1303
_current
.FontSize = FontSize.Normal;
1312
if(
_current
.FontColor != newStyle.FontColor)
1320
_current
.FontColor = newStyle.FontColor;
1323
if(
_current
.FontName != newStyle.FontName)
1329
_current
.FontName = newStyle.FontName;
1340
if( newStyle.Bold && !
_current
.Bold && _writer.RenderBold )
1343
_current
.Bold = true;
1348
if( newStyle.Italic && !
_current
.Italic && _writer.RenderItalic )
1351
_current
.Italic = true;