public static void SetSizeMode(SquareUIComponentBase source, SquareUIComponentSizeMode value)
 {
     source.SetValue(SizeModeProperty, value);
 }
 public static SquareUIComponentSizeMode GetSizeMode(SquareUIComponentBase source)
 {
     return((SquareUIComponentSizeMode)source.GetValue(SizeModeProperty));
 }