Ejemplo n.º 1
0
 private void SetJustification(TableRowAlignmentValues val)
 {
     Apply(new TableJustification
     {
         Val = new EnumValue <TableRowAlignmentValues>(val)
     });
 }
Ejemplo n.º 2
0
 public static JustificationValues ToJustification(this TableRowAlignmentValues val)
 {
     if (val == TableRowAlignmentValues.Left)
     {
         return(JustificationValues.Left);
     }
     else if (val == TableRowAlignmentValues.Center)
     {
         return(JustificationValues.Center);
     }
     else
     {
         return(JustificationValues.Right);
     }
 }
Ejemplo n.º 3
0
 public TablePropertiesModel()
 {
     TableStyle         = new TableStyleModel();
     TableJustification = TableRowAlignmentValues.Center;
 }
Ejemplo n.º 4
0
 private void RunTest(TableRowAlignmentValues val)
 {
     SetJustification(val);
     Assert.AreEqual(val, Grid.Jusitification);
 }