Exemplo n.º 1
0
        public void Deactivate()
        {
            Window window = NUIApplication.GetDefaultWindow();

            window.KeyEvent -= Window_KeyEvent;
            window.Remove(pagination1);
            window.Remove(pagination2);

            pagination1.Dispose();
            pagination2.Dispose();
        }
Exemplo n.º 2
0
        public void Deactivate()
        {
            Window window = Window.Instance;

            window.KeyEvent -= Window_KeyEvent;
            window.Remove(pagination1);
            window.Remove(pagination2);

            pagination1.Dispose();
            pagination2.Dispose();
        }
Exemplo n.º 3
0
        public void PaginationLastIndicatorImageUrl()
        {
            tlog.Debug(tag, $"PaginationLastIndicatorImageUrl START");

            PaginationStyle style = new PaginationStyle()
            {
                Size = new Size(80, 20),
            };

            var testingTarget = new Pagination(style);

            Assert.IsNotNull(testingTarget, "null handle");
            Assert.IsInstanceOf <Pagination>(testingTarget, "Should return Pagination instance.");

            Selector <String> url = new Selector <string>();

            url.Add(ControlState.All, image_path);

            testingTarget.LastIndicatorImageUrl = url;
            tlog.Debug(tag, "LastIndicatorImageUrl : " + testingTarget.LastIndicatorImageUrl);

            testingTarget.Dispose();
            tlog.Debug(tag, $"PaginationLastIndicatorImageUrl END (OK)");
        }