Exemple #1
0
 /// <summary>
 /// Creates a block that applies a border to this block.
 /// </summary>
 public BorderBlock WithBorder(Border Border)
 {
     return new BorderBlock(Border, this);
 }
Exemple #2
0
 public BorderBlock(Border Border, Block Inner)
 {
     this.Border = Border;
     this.Inner = Inner;
 }
Exemple #3
0
 public TextBlockStyle(
     Point CellSize,
     Alignment HorizontalAlignment,
     Alignment VerticalAlignment,
     int IndentSize,
     double CaretBlinkRate,
     Border CaretStyle)
 {
     this.CellSize = CellSize;
     this.HorizontalAlignment = HorizontalAlignment;
     this.VerticalAlignment = VerticalAlignment;
     this.IndentSize = IndentSize;
     this.CaretBlinkRate = CaretBlinkRate;
     this.CaretStyle = CaretStyle;
 }
Exemple #4
0
 public GridBlock(Block[,] Cells, Border Seperator)
 {
     this.Cells = Cells;
     this.Seperator = Seperator;
 }