3 references to ConvertToVarEnum
PresentationCore (3)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
74interopTypeInfo = SerializationHelper.ConvertToVarEnum(attribute.Value.GetType(), true); 912VarEnum varEnum = SerializationHelper.ConvertToVarEnum(value.GetType(), true);
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
622System.Runtime.InteropServices.VarEnum type = SerializationHelper.ConvertToVarEnum(PersistenceTypes.StylusTip, true);