本文整理汇总了C#中Poker.CallModifiedOuterTableStylePropertyName方法的典型用法代码示例。如果您正苦于以下问题:C# Poker.CallModifiedOuterTableStylePropertyName方法的具体用法?C# Poker.CallModifiedOuterTableStylePropertyName怎么用?C# Poker.CallModifiedOuterTableStylePropertyName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Poker
的用法示例。
在下文中一共展示了Poker.CallModifiedOuterTableStylePropertyName方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ModifiedOuterTableStylePropertyName
public void ModifiedOuterTableStylePropertyName ()
{
var fv = new Poker ();
string props;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.AreEqual (String.Empty, props, "#A1");
fv.BackImageUrl = "http://example.com/image.png";
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#A2-1");
Assert.AreEqual ("BackImageUrl", props, "#A2-2");
fv = new Poker ();
fv.CellPadding = 10;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#A3-1");
Assert.AreEqual ("CellPadding", props, "#A3-2");
fv = new Poker ();
fv.CellSpacing = 10;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#A4-1");
Assert.AreEqual ("CellSpacing", props, "#A4-2");
fv = new Poker ();
fv.GridLines = GridLines.Both;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#A5-1");
Assert.AreEqual ("GridLines", props, "#A5-2");
fv = new Poker ();
fv.HorizontalAlign = HorizontalAlign.Justify;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#A6-1");
Assert.AreEqual ("HorizontalAlign", props, "#A6-2");
fv = new Poker ();
fv.Font.Bold = true;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#A6-1");
Assert.AreEqual ("Font", props, "#A6-2");
// Just one property is reported at a time
fv = new Poker ();
fv.BackImageUrl = "http://example.com/image.png";
fv.CellPadding = 10;
props = fv.CallModifiedOuterTableStylePropertyName ();
Assert.IsNotNull (props, "#B1-1");
Assert.AreEqual ("BackImageUrl", props, "#B1-2");
}