private void SetJustification(TableRowAlignmentValues val) { Apply(new TableJustification { Val = new EnumValue <TableRowAlignmentValues>(val) }); }
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); } }
public TablePropertiesModel() { TableStyle = new TableStyleModel(); TableJustification = TableRowAlignmentValues.Center; }
private void RunTest(TableRowAlignmentValues val) { SetJustification(val); Assert.AreEqual(val, Grid.Jusitification); }