Beispiel #1
0
        public void ItemViewSetAnchoring()
        {
            tlog.Debug(tag, $"ItemViewSetAnchoring START");

            using (ItemFactory factory = new ItemFactory())
            {
                using (ItemView itemView = new ItemView(factory))
                {
                    itemView.SetAnchoring(true);
                    Assert.AreEqual(true, itemView.GetAnchoring(), "Should be equal!");

                    itemView.SetAnchoring(false);
                    Assert.AreEqual(false, itemView.GetAnchoring(), "Should be equal!");
                }
            }

            tlog.Debug(tag, $"ItemViewSetAnchoring END (OK)");
        }