Re: [mono-android] Custom attribute

2011-09-23 Thread Jonathan Pobst
etion within the editor for > attributes under the android namespace. > How can I have the same support for my custom attribute?. > > > -Original Message- > From: monodroid-boun...@lists.ximian.com > [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor &

Re: [mono-android] Custom attribute

2011-09-23 Thread El-Sayed Mohamed
: [mono-android] Custom attribute On Sep 22, 2011, at 6:42 PM, El-Sayed Mohamed wrote: > How to set custom attribute from axml? You should be able to use the IAttributeSet methods; untested... > //Code snippet is below > > public class CustomView : ViewGroup > { >

Re: [mono-android] Custom attribute

2011-09-23 Thread Jonathan Pryor
On Sep 22, 2011, at 6:42 PM, El-Sayed Mohamed wrote: > How to set custom attribute from axml? You should be able to use the IAttributeSet methods; untested... > //Code snippet is below > > public class CustomView : ViewGroup > { > public string DisplayText > { >

[mono-android] Custom attribute

2011-09-22 Thread El-Sayed Mohamed
Hi, How to set custom attribute from axml? //Code snippet is below public class CustomView : ViewGroup { public string DisplayText { get; set; } public CustomView(Context context, IAttributeSet attrs) : b