28 references to LiteralElementType
System.Web.Mobile (28)
UI\MobileControls\CompileLiteralTextParser.cs (2)
50
case
LiteralElementType
.Text:
60
case
LiteralElementType
.Anchor:
UI\MobileControls\LiteralTextParser.cs (25)
65
public
LiteralElementType
Type;
74
Type =
LiteralElementType
.Text;
79
public LiteralElement(
LiteralElementType
type, IDictionary attributes)
90
return Type ==
LiteralElementType
.Text;
128
_recognizedTags.Add("b",
LiteralElementType
.Bold);
129
_recognizedTags.Add("B",
LiteralElementType
.Bold);
131
_recognizedTags.Add("i",
LiteralElementType
.Italic);
132
_recognizedTags.Add("I",
LiteralElementType
.Italic);
134
_recognizedTags.Add("br",
LiteralElementType
.Break);
135
_recognizedTags.Add("BR",
LiteralElementType
.Break);
137
_recognizedTags.Add("p",
LiteralElementType
.Paragraph);
138
_recognizedTags.Add("P",
LiteralElementType
.Paragraph);
140
_recognizedTags.Add("a",
LiteralElementType
.Anchor);
141
_recognizedTags.Add("A",
LiteralElementType
.Anchor);
146
private static
LiteralElementType
TagNameToType(String tagName)
153
return (o != null) ? (
LiteralElementType
)o :
LiteralElementType
.Unrecognized;
308
LiteralElementType
tagType = TagNameToType(tagName);
309
if (tagType ==
LiteralElementType
.Unrecognized)
334
case
LiteralElementType
.Paragraph:
341
goto case
LiteralElementType
.Break;
346
case
LiteralElementType
.Break:
362
case
LiteralElementType
.Bold:
374
case
LiteralElementType
.Italic:
397
if (_isBreakingReset && tagType !=
LiteralElementType
.Paragraph)
UI\MobileControls\TextView.cs (1)
436
if(element.Type ==
LiteralElementType
.Anchor) {