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

            var testingTarget = new Alignment(Alignment.Type.HorizontalCenter);

            Assert.IsNotNull(testingTarget, "Can't create success object Alignment");
            Assert.IsInstanceOf <Alignment>(testingTarget, "Should be an instance of Alignment type.");

            tlog.Debug(tag, "Alignment.Type : " + testingTarget.GetAlignmentType());

            testingTarget.SetAlignmentType(Alignment.Type.VerticalBottom);
            tlog.Debug(tag, "Alignment.Type : " + testingTarget.GetAlignmentType());

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