c# - Xamarin Android, custom control and Visual Studio designer -
i have created custom command in xamarin using visual studio , c#. custom command works , code quite simple:
[designtimevisible(true)] public class customtextview : textview { public customtextview(context context) :base(context) { } public customtextview(context context, iattributeset attrs) :base(context,attrs) { } public customtextview(intptr javareference, jnihandleownership transfer) :base(javareference, transfer) { } public customtextview(context context, iattributeset attrs, int defstyle) :base(context, attrs, defstyle) { } }
problem in design time, xamarin designer render command in next way, becomes useless me because cannot understand how @ run-time.
is limitation of designer visual studio or can it?
as you've noted - current limitation (nov 2014) of designer visual studio android.
unfortunately have run on device or emulator see render output.
in ios possible render custom controls @ design-time.
c# android monotouch xamarin
No comments:
Post a Comment