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