129 references to BooleanOption
System.Web.Mobile (129)
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (4)
539
_bold = ((
BooleanOption
) style[Style.BoldKey, true] ==
BooleanOption
.True);
540
_italic = ((
BooleanOption
) style[Style.ItalicKey, true] ==
BooleanOption
.True);
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (23)
316
BooleanOption
cachedItalic = subCommandStyle.Font.Italic;
317
subCommandStyle.Font.Italic =
BooleanOption
.False;
332
subCommandStyle.Font.Italic =
BooleanOption
.False;
408
BooleanOption
cachedItalic = subCommandStyle.Font.Italic;
409
subCommandStyle.Font.Italic =
BooleanOption
.False;
429
subCommandStyle.Font.Italic =
BooleanOption
.False;
452
(style.Font.Bold ==
BooleanOption
.True) ? true : false;
476
BooleanOption
cachedItalic = subCommandStyle.Font.Italic;
477
subCommandStyle.Font.Italic =
BooleanOption
.False;
496
subCommandStyle.Font.Italic =
BooleanOption
.False;
597
private
BooleanOption
_hasItemDetails =
BooleanOption
.NotSet;
601
if (_hasItemDetails ==
BooleanOption
.NotSet)
621
_hasItemDetails =
BooleanOption
.False;
630
_hasItemDetails =
BooleanOption
.True;
637
return _hasItemDetails ==
BooleanOption
.True;
652
private
BooleanOption
_onlyHasDefaultCommand =
BooleanOption
.NotSet;
656
if (_onlyHasDefaultCommand ==
BooleanOption
.NotSet)
666
_onlyHasDefaultCommand =
BooleanOption
.True;
670
_onlyHasDefaultCommand =
BooleanOption
.False;
675
_onlyHasDefaultCommand =
BooleanOption
.False;
679
return _onlyHasDefaultCommand ==
BooleanOption
.True;
UI\MobileControls\Adapters\HtmlTextViewAdapter.cs (4)
87
BooleanOption
previousBold = Style.Font.Bold;
88
BooleanOption
previousItalic = Style.Font.Italic;
91
Style.Font.Bold =
BooleanOption
.True;
95
Style.Font.Italic =
BooleanOption
.True;
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (8)
1730
BooleanOption
bold = (
BooleanOption
)style[Style.BoldKey, true];
1731
Bold = (bold !=
BooleanOption
.NotSet) ? bold ==
BooleanOption
.True : currentFormat.Bold;
1732
BooleanOption
italic = (
BooleanOption
)style[Style.ItalicKey, true];
1733
Italic = (italic !=
BooleanOption
.NotSet) ? italic ==
BooleanOption
.True : currentFormat.Italic;
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (13)
389
private
BooleanOption
_hasItemDetails =
BooleanOption
.NotSet;
397
if (_hasItemDetails ==
BooleanOption
.NotSet)
423
_hasItemDetails =
BooleanOption
.False;
432
_hasItemDetails =
BooleanOption
.True;
439
return _hasItemDetails ==
BooleanOption
.True;
454
private
BooleanOption
_onlyHasDefaultCommand =
BooleanOption
.NotSet;
458
if (_onlyHasDefaultCommand ==
BooleanOption
.NotSet)
468
_onlyHasDefaultCommand =
BooleanOption
.True;
472
_onlyHasDefaultCommand =
BooleanOption
.False;
477
_onlyHasDefaultCommand =
BooleanOption
.False;
481
return _onlyHasDefaultCommand ==
BooleanOption
.True;
UI\MobileControls\Adapters\WmlTextViewAdapter.cs (4)
90
BooleanOption
previousBold = Style.Font.Bold;
91
BooleanOption
previousItalic = Style.Font.Italic;
94
Style.Font.Bold =
BooleanOption
.True;
98
Style.Font.Italic =
BooleanOption
.True;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (11)
36
private
BooleanOption
_hasItemDetails =
BooleanOption
.NotSet;
147
if (_hasItemDetails ==
BooleanOption
.NotSet) {
160
_hasItemDetails =
BooleanOption
.False;
166
_hasItemDetails =
BooleanOption
.True;
173
return _hasItemDetails ==
BooleanOption
.True;
236
subCommandStyleNoItalic.Font.Italic =
BooleanOption
.False;
290
subCommandStyleNoItalic.Font.Italic =
BooleanOption
.False;
512
BooleanOption
cachedItalic = subCommandStyle.Font.Italic;
513
subCommandStyle.Font.Italic =
BooleanOption
.False;
532
subCommandStyle.Font.Italic =
BooleanOption
.False;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextViewAdapter.cs (4)
76
BooleanOption
prevBold = Style.Font.Bold;
77
BooleanOption
prevItalic = Style.Font.Italic;
79
Style.Font.Bold =
BooleanOption
.True;
82
Style.Font.Italic =
BooleanOption
.True;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (12)
140
if ((
BooleanOption
) _controlStyle [Style.ItalicKey, true /* inherit */] ==
BooleanOption
.True) {
143
else if ((
BooleanOption
) _controlStyle [Style.ItalicKey, true /* inherit */] ==
BooleanOption
.False) {
152
if ((
BooleanOption
) _controlStyle[Style.BoldKey, true /* inherit */] ==
BooleanOption
.True) {
155
else if ((
BooleanOption
) _controlStyle[Style.BoldKey, true /* inherit */] ==
BooleanOption
.False) {
208
if ((
BooleanOption
)_controlStyle [Style.BoldKey, true] != (
BooleanOption
)style [Style.BoldKey, true]) {
211
if ((
BooleanOption
)_controlStyle [Style.ItalicKey, true] != (
BooleanOption
)style [Style.ItalicKey, true]) {
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (4)
110
bool bold = (
BooleanOption
)style[Style.BoldKey, true] ==
BooleanOption
.True;
111
bool italic = (
BooleanOption
)style[Style.ItalicKey, true] ==
BooleanOption
.True;
UI\MobileControls\Design\MobileContainerDesigner.cs (4)
181
(
BooleanOption
)Style[Style.BoldKey, true] ==
BooleanOption
.True;
183
(
BooleanOption
)Style[Style.ItalicKey, true] ==
BooleanOption
.True;
UI\MobileControls\Design\StylesEditorDialog.cs (8)
608
if (_previewStyle.Font.Bold ==
BooleanOption
.True)
612
if (_previewStyle.Font.Italic ==
BooleanOption
.True)
1068
BooleanOption
fontBold = currentStyle.Font.Bold;
1069
BooleanOption
fontItalic = currentStyle.Font.Italic;
1092
if (fontBold ==
BooleanOption
.NotSet)
1096
if (fontItalic ==
BooleanOption
.NotSet)
1128
if (fontBold ==
BooleanOption
.NotSet)
1132
if (fontItalic ==
BooleanOption
.NotSet)
UI\MobileControls\ErrorFormatterPage.cs (1)
98
ctl.Font.Bold =
BooleanOption
.True;
UI\MobileControls\FontInfo.cs (4)
66
DefaultValue(
BooleanOption
.NotSet),
71
public
BooleanOption
Bold
86
DefaultValue(
BooleanOption
.NotSet),
91
public
BooleanOption
Italic
UI\MobileControls\MobilePage.cs (8)
362
private
BooleanOption
_allowCustomAttributes =
BooleanOption
.NotSet;
379
if (_allowCustomAttributes ==
BooleanOption
.NotSet)
383
BooleanOption
.True :
BooleanOption
.False;
385
return _allowCustomAttributes ==
BooleanOption
.True;
390
_allowCustomAttributes = value ?
BooleanOption
.True :
BooleanOption
.False;
UI\MobileControls\Style.cs (16)
46
BoldKey = RegisterStyle("Bold", typeof(
BooleanOption
),
BooleanOption
.NotSet, true),
47
ItalicKey = RegisterStyle("Italic", typeof(
BooleanOption
),
BooleanOption
.NotSet, true),
95
control.Font.Bold = ((
BooleanOption
)this[BoldKey, true]) ==
BooleanOption
.True;
96
control.Font.Italic = ((
BooleanOption
)this[ItalicKey, true]) ==
BooleanOption
.True;
103
style.Font.Bold = ((
BooleanOption
)this[BoldKey, true]) ==
BooleanOption
.True;
104
style.Font.Italic = ((
BooleanOption
)this[ItalicKey, true]) ==
BooleanOption
.True;
530
internal
BooleanOption
Bold
534
return (
BooleanOption
)this[BoldKey];
546
internal
BooleanOption
Italic
550
return (
BooleanOption
)this[ItalicKey];
UI\MobileControls\StyleSheet.cs (1)
58
title.Bold =
BooleanOption
.True;