internal static void SetDeviceSpecificChoice(Style style, DeviceSpecificChoice choice) { typeof(DeviceSpecific).InvokeMember("SetDesignerChoice", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, style.get_DeviceSpecific(), new object[] { choice }); }