4 references to Type
UIAutomationClient (4)
System\Windows\Automation\Text\TextRange.cs (4)
190if (value.GetType() != ai.Type) 192throw new ArgumentException(SR.Format(SR.TextAttributeValueWrongType, attribute, ai.Type.Name, value.GetType().Name), "value"); 248if (ai.Type.IsEnum && obj is int) 251obj = Enum.ToObject(ai.Type, (int)obj);