53 references to TomBool
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (16)
102TomBool InRange(ITextRange range); 104TomBool IsEqual(ITextRange range); 165new TomBool InRange(ITextRange range); 167new TomBool IsEqual(ITextRange range); 233TomBool AllCaps { get; set; } 248TomBool Emboss { get; set; } 254TomBool Hidden { get; set; } 257TomBool Engrave { get; set; } 260TomBool Italic { get; set; } 274TomBool Outline { get; set; } 281TomBool Protected { get; set; } 284TomBool Shadow { get; set; } 290TomBool SmallCaps { get; set; } 297TomBool StrikeThrough { get; set; } 300TomBool Subscript { get; set; } 303TomBool Superscript { get; set; }
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (37)
54return _range.IsEqual(otherRange._range)==TomBool.tomTrue; 679TomBool allCaps = font.AllCaps; 680TomBool smallCaps = font.SmallCaps; 682if (allCaps == TomBool.tomUndefined || smallCaps == TomBool.tomUndefined) 689if (font.AllCaps == TomBool.tomTrue) 693else if (font.SmallCaps == TomBool.tomTrue) 853TomBool hidden = font.Hidden; 854if (hidden == TomBool.tomUndefined) 860return hidden == TomBool.tomTrue; 866TomBool italic = font.Italic; 867if (italic == TomBool.tomUndefined) 873return italic == TomBool.tomTrue; 879TomBool outline = font.Outline; 880TomBool shadow = font.Shadow; 881TomBool emboss = font.Emboss; 882TomBool engrave = font.Engrave; 884if (outline == TomBool.tomUndefined || shadow == TomBool.tomUndefined || emboss == TomBool.tomUndefined || engrave == TomBool.tomUndefined) 891style |= (outline == TomBool.tomTrue) ? OutlineStyles.Outline : 0; 892style |= (shadow == TomBool.tomTrue) ? OutlineStyles.Shadow : 0; 893style |= (emboss == TomBool.tomTrue) ? OutlineStyles.Embossed : 0; 894style |= (engrave == TomBool.tomTrue) ? OutlineStyles.Engraved : 0; 909TomBool protect = font.Protected; 910if (protect == TomBool.tomUndefined) 916return protect == TomBool.tomTrue; 922TomBool strike = font.StrikeThrough; 923if (strike == TomBool.tomUndefined) 929return strike == TomBool.tomTrue ? TextDecorationLineStyle.Single : TextDecorationLineStyle.None; 935TomBool sub = font.Subscript; 936if (sub == TomBool.tomUndefined) 942return sub == TomBool.tomTrue; 948TomBool super = font.Superscript; 949if (super == TomBool.tomUndefined) 955return super == TomBool.tomTrue;