示例#1
0
 private static bool ConstraintsDetermineHeight(ILayoutElement layoutElement)
 {
     return(null != layoutElement.PercentHeight ||
            null != layoutElement.GetConstraintValue("top") &&
            null != layoutElement.GetConstraintValue("bottom"));
 }
示例#2
0
 private static bool ConstraintsDetermineHeight(ILayoutElement layoutElement)
 {
     return null != layoutElement.PercentHeight ||
            null != layoutElement.GetConstraintValue("top") &&
            null != layoutElement.GetConstraintValue("bottom");
 }
示例#3
0
 private static bool ConstraintsDetermineWidth(ILayoutElement layoutElement)
 {
     return(null != layoutElement.PercentWidth ||
            null != layoutElement.GetConstraintValue("left") &&
            null != layoutElement.GetConstraintValue("right"));
 }
示例#4
0
 private static bool ConstraintsDetermineWidth(ILayoutElement layoutElement)
 {
     return null != layoutElement.PercentWidth ||
            null != layoutElement.GetConstraintValue("left") &&
            null != layoutElement.GetConstraintValue("right");
 }