TestElements() public static méthode

public static TestElements ( ) : RootElement
Résultat MonoMobile.Dialog.RootElement
Exemple #1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            // TODO: traversing RootElement tree with DialogViewController
            // Single Inheritance - Elements cannot inherit from both
            //		Element
            // and
            //		Windows Phone controls
            // Suggested API:
            //		RootElement.Children
            // during traversal children add themselves to parent?!?!

            RootElement re = UserInterface.TestElements();
        }
Exemple #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            UserInterface.a1 = this;

            RootElement root =
                //DialogSampleApp.UserInterface.UIDefine()
                //UserInterface.UICities()
                UserInterface.TestElements()
            ;

            var da = new DialogAdapter(this, root);

            var lv = new ListView(this)
            {
                Adapter = da
            };

            SetContentView(lv);
        }