public void ProcessDisplayColumnPropertyTestButtonAlways()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "ButtonAlways", "true");
            string expectedResult = "True";
            //Act
            string actualResult = displayColumn.Properties["ButtonAlways"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestHeadingStyle()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "HeadingStyle.HorizontalAlignment", "C1.Win.C1TrueDBGrid.AlignHorzEnum.Justify");
            string expectedResult = "Justify";
            //Act
            string actualResult = displayColumn.Styles["HeadingStyle"].Properties["AlignHorz"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestStyle()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "Style.ForeColor", "System.Drawing.SystemColors.HighlightText");
            string expectedResult = "HighlightText";
            //Act
            string actualResult = displayColumn.Styles["Style"].Properties["ForeColor"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestFooterStyle()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "FooterStyle.VerticalAlignment", "C1.Win.C1TrueDBGrid.AlignVertEnum.Bottom");
            string expectedResult = "Bottom";
            //Act
            string actualResult = displayColumn.Styles["FooterStyle"].Properties["AlignVert"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestEditorStyle()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "EditorStyle.Locked", "true");
            string expectedResult = "True";
            //Act
            string actualResult = displayColumn.Styles["EditorStyle"].Properties["Locked"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestAllowSizing()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "AllowSizing", "false");
            string expectedResult = "False";
            //Act
            string actualResult = displayColumn.Properties["AllowSizing"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestWidth()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "Width", "125");
            string expectedResult = "125";
            //Act
            string actualResult = displayColumn.Properties["Width"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessDisplayColumnPropertyTestMerge()
        {
            //Arrange
            C1DisplayColumn displayColumn = new C1DisplayColumn();

            DisplayColumnPropertyReader.ProcessDisplayColumnProperty(displayColumn, "Merge", "C1.Win.C1TrueDBGrid.ColumnMergeEnum.Free");
            string expectedResult = "Free";
            //Act
            string actualResult = displayColumn.Properties["Merge"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }