Hello,

The link would be:
http://iosapi.xamarin.com/?link=T%3aSystem.Drawing.Color

and it clearly states "System.Drawing.Color Structure", i.e. not
namespace. This means you cannot do something like "using
System.Drawing.Color;" is C#.

The namespace of the Color *structure* is named "System.Drawing" and
documented on:
http://iosapi.xamarin.com/?link=N%3aSystem.Drawing

But like Jason answered you UIColor (a class)
http://iosapi.xamarin.com/?link=T%3aMonoTouch.UIKit.UIColor

from the "MonoTouch.UIKit" namespace
http://iosapi.xamarin.com/?link=N%3aMonoTouch.UIKit

is the type that MonoTouch uses in most cases (e.g. all the UIKit API).

Sebastien


On Mon, Apr 9, 2012 at 10:35 PM, Jason Awbrey <ja...@awbrey.net> wrote:
> that link doesn't refer to System.Drawing.Color?
>
> generally you want to use MonoTouch.UIKit.UIColor
>
>
> On Fri, Apr 6, 2012 at 8:26 AM, Pritish <pritish_deshm...@medsynaptic.com>
> wrote:
>>
>> Hi ,
>>
>>  How to use the* System.Drawing.Color *namespace in Monotouch.
>>
>> while I add the above namespace into Monodevelop it gives me an error
>> *namespace color does not exist in the namespace System.Drawing*
>>
>> but i check it on to IOS API (Mono Documentation page)
>> System.Drawing.Color
>> is available.
>> please check the link
>>  http://iosapi.xamarin.com/?link=T%3aSystem.ValueType%2f*
>> System.Drawing.Color
>>
>> Regards
>> Pritish M. Deshmukh
>>
>>
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/Error-with-Namespace-System-Drawing-Color-tp4537395p4537395.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to