Example #1
0
        public BorderStyle(LineStyleCreator creator)
        {
            Left  = creator.Create();
            Right = creator.Create();

            Bottom = creator.Create();
            Top    = creator.Create();
        }
Example #2
0
        public BorderStyle(LineStyle leading, LineStyle trailing, LineStyle bottom,
                           LineStyle top)
        {
            Left  = new LineConfiguration(Color.Black, leading);
            Right = new LineConfiguration(Color.Black, trailing);

            Bottom = new LineConfiguration(Color.Black, bottom);
            Top    = new LineConfiguration(Color.Black, top);
        }
Example #3
0
        public BorderStyle(LineConfiguration left, LineConfiguration right, LineConfiguration bottom,
                           LineConfiguration top)
        {
            Left  = left;
            Right = right;

            Bottom = bottom;
            Top    = top;
        }
Example #4
0
 public static Border ToGoogleBorder(this LineConfiguration configuration)
 => new Border
 {
     Color = configuration.Color.ToGoogleColor(),
     Style = configuration.Style.ToGoogleLineStyle()
 };