FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > CompoundBorder クラス : Inside プロパティ |
複合境界線は、内側境界線、面、外側境界線の3つの部分から成ります。次の図にこれら3つの部分を示します。
内側境界線を指定するには、CompoundBorderコンストラクターの1つを使用します。
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.MediumDashed); FarPoint.Win.ComplexBorderSide side1 = new FarPoint.Win.ComplexBorderSide(); FarPoint.Win.ComplexBorder lb = new FarPoint.Win.ComplexBorder(side); FarPoint.Win.ComplexBorder tb = new FarPoint.Win.ComplexBorder(side1); FarPoint.Win.CompoundBorder cb = new FarPoint.Win.CompoundBorder(lb, tb, 3, Color.Red); FarPoint.Win.IBorder inside = cb.Inside MessageBox.Show("The type of border for the inside is " + Convert.ToString(inside) + ".");
Dim side As New FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.MediumDashed) Dim side1 As New FarPoint.Win.ComplexBorderSide Dim lb As New FarPoint.Win.ComplexBorder(side) Dim tb As New FarPoint.Win.ComplexBorder(side1) Dim cb As New FarPoint.Win.CompoundBorder(lb, tb, 3, Color.Red) Dim inside As FarPoint.Win.IBorder = cb.Inside MessageBox.Show("The type of border for the inside is " + Convert.ToString(inside) + ".")