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