4 references to Type
UIAutomationClient (4)
System\Windows\Automation\Text\TextRange.cs (4)
198if (value.GetType() != ai.Type) 200throw new ArgumentException(SR.Get(SRID.TextAttributeValueWrongType, attribute, ai.Type.Name, value.GetType().Name), "value"); 256if (ai.Type.IsEnum && obj is int) 259obj = Enum.ToObject(ai.Type, (int)obj);